mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Change range-based for-loops to be -Wrange-loop-analysis clean.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -262,7 +262,7 @@ std::error_code COFFObjectFile::getSymbolSize(DataRefImpl Ref,
|
||||
}
|
||||
const section_iterator SecEnd = section_end();
|
||||
uint64_t AfterAddr = UnknownAddressOrSize;
|
||||
for (const symbol_iterator &SymbI : symbols()) {
|
||||
for (const symbol_iterator SymbI : symbols()) {
|
||||
section_iterator SecI = SecEnd;
|
||||
if (std::error_code EC = SymbI->getSection(SecI))
|
||||
return EC;
|
||||
|
Reference in New Issue
Block a user