summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCParser/AsmParser.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-08-02 17:35:18 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-08-02 17:35:18 +0000
commit3a8e4d98f88c0bc4436df6e37cf8dee3ea36c507 (patch)
treefc401a838ba921e604da450802d0b47c0b346169 /llvm/lib/MC/MCParser/AsmParser.cpp
parent80a1c26a3f472e3d822ac79cc4066aa94777d067 (diff)
downloadbcm5719-llvm-3a8e4d98f88c0bc4436df6e37cf8dee3ea36c507.tar.gz
bcm5719-llvm-3a8e4d98f88c0bc4436df6e37cf8dee3ea36c507.zip
Use more consistent names
Reviewing another change I noticed that we use "getSymbols" to mean different things in different files. Depending on the file it can return ArrayRef<StringRef> ArrayRef<SymbolBody*> ArrayRef<Symbol*> ArrayRef<Elf_Sym> With this change it always returns an ArrayRef<SymbolBody*>. The other functions are renamed getELFsyms() and getSymbolNames(). Note that we cannot return ArrayRef<Symbol*> instead of ArreyRef<SymbolBody*> because local symbols have a SymbolBody but not a Symbol. llvm-svn: 309840
Diffstat (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud