[lld] r346431 - Fix -Wextra-qualification warning
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 8 10:53:56 PST 2018
Author: rnk
Date: Thu Nov 8 10:53:56 2018
New Revision: 346431
URL: http://llvm.org/viewvc/llvm-project?rev=346431&view=rev
Log:
Fix -Wextra-qualification warning
Modified:
lld/trunk/COFF/SymbolTable.cpp
Modified: lld/trunk/COFF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/SymbolTable.cpp?rev=346431&r1=346430&r2=346431&view=diff
==============================================================================
--- lld/trunk/COFF/SymbolTable.cpp (original)
+++ lld/trunk/COFF/SymbolTable.cpp Thu Nov 8 10:53:56 2018
@@ -84,7 +84,7 @@ static Symbol *getSymbol(SectionChunk *S
return Candidate;
}
-std::string lld::coff::getSymbolLocations(ObjFile *File, uint32_t SymIndex) {
+std::string getSymbolLocations(ObjFile *File, uint32_t SymIndex) {
struct Location {
Symbol *Sym;
std::pair<StringRef, uint32_t> FileLine;
More information about the llvm-commits
mailing list