diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 4a516653999..d4a7dec8bee 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())