From 8980c92ddea50580a4af122deb2cbd7ecfddfdf3 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 18 Nov 2016 06:30:08 +0000 Subject: [PATCH] Use consistent variable name. llvm-svn: 287318 --- lld/ELF/Config.h | 2 +- lld/ELF/SymbolTable.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h index 1f3e10e..6ce8b57 100644 --- a/lld/ELF/Config.h +++ b/lld/ELF/Config.h @@ -52,7 +52,7 @@ enum class Target2Policy { Abs, Rel, GotRel }; struct SymbolVersion { llvm::StringRef Name; bool IsExternCpp; - bool HasWildcards; + bool HasWildcard; }; // This struct contains symbols version definition that diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp index 24e7e9b..2d80237 100644 --- a/lld/ELF/SymbolTable.cpp +++ b/lld/ELF/SymbolTable.cpp @@ -653,7 +653,7 @@ template void SymbolTable::handleAnonymousVersion() { template void SymbolTable::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::assignExactVersion(SymbolVersion Ver, uint16_t VersionId template void SymbolTable::assignWildcardVersion(SymbolVersion Ver, uint16_t VersionId) { - if (!Ver.HasWildcards) + if (!Ver.HasWildcard) return; std::vector Syms = Ver.IsExternCpp ? findAllDemangled(Ver.Name) : findAll(Ver.Name); -- 2.7.4