aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-07-29 10:16:57 -0700
committerSam Clegg <sbc@chromium.org>2022-08-19 14:56:08 -0700
commit2cd4cd9a326fd918374ce9330fc3a4e2c642e1b0 (patch)
tree04a3bc0d2948523b09c91d2d2f2c327274e7f471 /clang/lib/Frontend/CompilerInvocation.cpp
parent57c9780d60b15baf0eba4393857affce47f60aa7 (diff)
downloadllvm-2cd4cd9a326fd918374ce9330fc3a4e2c642e1b0.zip
llvm-2cd4cd9a326fd918374ce9330fc3a4e2c642e1b0.tar.gz
llvm-2cd4cd9a326fd918374ce9330fc3a4e2c642e1b0.tar.bz2
[lld][ELF] Rename SymbolTable::symbols() to SymbolTable::getSymbols(). NFC
This change renames this method match its original name and the name used in the wasm linker. Back in d8f8abbd4a2823f223bd7bc56445541fb221b512 the ELF SymbolTable method `getSymbols()` was replaced with `forEachSymbol`. Then in a2fc96441788fba1e4709d63677f34ed8e321dae `forEachSymbol` was replaced with a `llvm::iterator_range`. Then in e9262edf0d11a907763098d8e101219ccd9c43e9 we came full circle and the `llvm::iterator_range` was replaced with a `symbols()` accessor that was identical the original `getSymbols()`. `getSymbols` also matches the name used elsewhere in the ELF linker as well as in both COFF and wasm backend (e.g. `InputFiles.h` and `SyntheticSections.h`) Differential Revision: https://reviews.llvm.org/D130787
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions