Fix a clang warning.
[oota-llvm.git] / lib / Support / Triple.cpp
index 4a5166539998dae970de04b57d261f73005bd1ea..d4a7dec8beeb94050a2addc06b40acd063a4106c 100644 (file)
@@ -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())