[llvm-commits] [llvm] r124960 - /llvm/trunk/lib/Support/Triple.cpp
Anders Carlsson
andersca at mac.com
Sat Feb 5 10:19:35 PST 2011
Author: andersca
Date: Sat Feb 5 12:19:35 2011
New Revision: 124960
URL: http://llvm.org/viewvc/llvm-project?rev=124960&view=rev
Log:
Fix a clang warning.
Modified:
llvm/trunk/lib/Support/Triple.cpp
Modified: llvm/trunk/lib/Support/Triple.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Triple.cpp?rev=124960&r1=124959&r2=124960&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Triple.cpp (original)
+++ llvm/trunk/lib/Support/Triple.cpp Sat Feb 5 12:19:35 2011
@@ -468,7 +468,8 @@
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())
More information about the llvm-commits
mailing list