diff options
author | Anders Carlsson <andersca@mac.com> | 2011-02-05 18:19:35 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-02-05 18:19:35 +0000 |
commit | 630125ab27aeb7c0cc56415dbf7d36c2ede7c6f6 (patch) | |
tree | a7ab8e2f3de5e1b8e362229a0f5c814cb79d76bc /llvm/lib/Support/Triple.cpp | |
parent | b0e0597d078bd3647cc225f38af31ce75a60b723 (diff) | |
download | bcm5719-llvm-630125ab27aeb7c0cc56415dbf7d36c2ede7c6f6.tar.gz bcm5719-llvm-630125ab27aeb7c0cc56415dbf7d36c2ede7c6f6.zip |
Fix a clang warning.
llvm-svn: 124960
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r-- | llvm/lib/Support/Triple.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp index 4a516653999..d4a7dec8bee 100644 --- a/llvm/lib/Support/Triple.cpp +++ b/llvm/lib/Support/Triple.cpp @@ -468,7 +468,8 @@ std::string Triple::normalize(StringRef Str) { if (CurrentComponent.empty()) break; // Advance to the next component, skipping any fixed components. - while (++i < array_lengthof(Found) && Found[i]); + while (++i < array_lengthof(Found) && Found[i]) + ; } // The last component was pushed off the end - append it. if (!CurrentComponent.empty()) |