[lld] r261880 - Remove unnecessary prefix.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 08:20:00 PST 2016
Author: rafael
Date: Thu Feb 25 10:20:00 2016
New Revision: 261880
URL: http://llvm.org/viewvc/llvm-project?rev=261880&view=rev
Log:
Remove unnecessary prefix.
Modified:
lld/trunk/ELF/InputFiles.cpp
Modified: lld/trunk/ELF/InputFiles.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=261880&r1=261879&r2=261880&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Thu Feb 25 10:20:00 2016
@@ -450,7 +450,7 @@ void BitcodeFile::parse() {
Sym.printName(OS);
StringRef NameRef = Saver.save(StringRef(Name));
SymbolBody *Body;
- if (Sym.getFlags() & object::BasicSymbolRef::SF_Undefined)
+ if (Sym.getFlags() & BasicSymbolRef::SF_Undefined)
Body = new (Alloc) Undefined(NameRef, false, STV_DEFAULT, false);
else
Body = new (Alloc) DefinedBitcode(NameRef);
More information about the llvm-commits
mailing list