[all-commits] [llvm/llvm-project] 681b1b: [lld] Fix -Wrange-loop-analysis warnings
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jan 1 15:42:55 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 681b1be774964a804beabfb7c5e3bdab8f979e4a
https://github.com/llvm/llvm-project/commit/681b1be774964a804beabfb7c5e3bdab8f979e4a
Author: Fangrui Song <maskray at google.com>
Date: 2020-01-01 (Wed, 01 Jan 2020)
Changed paths:
M lld/COFF/InputFiles.cpp
M lld/ELF/Driver.cpp
M lld/ELF/SyntheticSections.cpp
M lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
M lld/wasm/Driver.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list