mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-16 14:31:16 +00:00
Fix a clang warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1f6832a858
commit
15ec695e8a
@ -468,7 +468,8 @@ std::string Triple::normalize(StringRef Str) {
|
|||||||
if (CurrentComponent.empty())
|
if (CurrentComponent.empty())
|
||||||
break;
|
break;
|
||||||
// Advance to the next component, skipping any fixed components.
|
// 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.
|
// The last component was pushed off the end - append it.
|
||||||
if (!CurrentComponent.empty())
|
if (!CurrentComponent.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user