HomePhabricator

[lld] Fix -Wrange-loop-analysis warnings

Authored by MaskRay on Jan 1 2020, 3:28 PM.

Description

[lld] Fix -Wrange-loop-analysis warnings

One instance looks like a false positive:

lld/ELF/Relocations.cpp:1622:14: note: use reference type 'const std::pair<ThunkSection *, uint32_t> &' (aka 'cons
t pair<lld::elf::ThunkSection *, unsigned int> &') to prevent copying

for (const std::pair<ThunkSection *, uint32_t> ts : isd->thunkSections)

It is not changed in this commit.

Details

Committed
MaskRayJan 1 2020, 3:41 PM
Parents
rG92b68c1937cd: [polly][Support] Un-break polly tests Previously, the polly unit tests were…
Branches
Unknown
Tags
Unknown