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 | 15ec695e8ab1497b55a0bf212de663a63c6d8e32 (patch) | |
tree | 4a78d66408f112d1248c590e0f83b4b4dc04f5f7 /lib/Support/Triple.cpp | |
parent | 1f6832a858db891b7a7b08d438afb373eefa628c (diff) | |
download | llvm-15ec695e8ab1497b55a0bf212de663a63c6d8e32.tar.gz llvm-15ec695e8ab1497b55a0bf212de663a63c6d8e32.tar.bz2 llvm-15ec695e8ab1497b55a0bf212de663a63c6d8e32.tar.xz |
Fix a clang warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 4a51665399..d4a7dec8be 100644 --- a/lib/Support/Triple.cpp +++ b/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()) |