[lld] r287318 - Use consistent variable name.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 22:30:08 PST 2016
Author: ruiu
Date: Fri Nov 18 00:30:08 2016
New Revision: 287318
URL: http://llvm.org/viewvc/llvm-project?rev=287318&view=rev
Log:
Use consistent variable name.
Modified:
lld/trunk/ELF/Config.h
lld/trunk/ELF/SymbolTable.cpp
Modified: lld/trunk/ELF/Config.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Config.h?rev=287318&r1=287317&r2=287318&view=diff
==============================================================================
--- lld/trunk/ELF/Config.h (original)
+++ lld/trunk/ELF/Config.h Fri Nov 18 00:30:08 2016
@@ -52,7 +52,7 @@ enum class Target2Policy { Abs, Rel, Got
struct SymbolVersion {
llvm::StringRef Name;
bool IsExternCpp;
- bool HasWildcards;
+ bool HasWildcard;
};
// This struct contains symbols version definition that
Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=287318&r1=287317&r2=287318&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Fri Nov 18 00:30:08 2016
@@ -653,7 +653,7 @@ template <class ELFT> void SymbolTable<E
template <class ELFT>
void SymbolTable<ELFT>::assignExactVersion(SymbolVersion Ver, uint16_t VersionId,
StringRef VersionName) {
- if (Ver.HasWildcards)
+ if (Ver.HasWildcard)
return;
// Get a list of symbols which we need to assign the version to.
@@ -681,7 +681,7 @@ void SymbolTable<ELFT>::assignExactVersi
template <class ELFT>
void SymbolTable<ELFT>::assignWildcardVersion(SymbolVersion Ver,
uint16_t VersionId) {
- if (!Ver.HasWildcards)
+ if (!Ver.HasWildcard)
return;
std::vector<SymbolBody *> Syms =
Ver.IsExternCpp ? findAllDemangled(Ver.Name) : findAll(Ver.Name);
More information about the llvm-commits
mailing list