mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 19:10:19 +00:00
Fix a clang warning.
llvm-svn: 124960
This commit is contained in:
parent
aa8b506820
commit
909058c68b
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user