[lld] r262983 - Avoid unnecessary qualification.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 8 18:02:27 PST 2016
Author: silvas
Date: Tue Mar 8 20:02:26 2016
New Revision: 262983
URL: http://llvm.org/viewvc/llvm-project?rev=262983&view=rev
Log:
Avoid unnecessary qualification.
Thanks to Rui for spotting this.
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=262983&r1=262982&r2=262983&view=diff
==============================================================================
--- lld/trunk/ELF/InputFiles.cpp (original)
+++ lld/trunk/ELF/InputFiles.cpp Tue Mar 8 20:02:26 2016
@@ -444,7 +444,7 @@ void BitcodeFile::parse(DenseSet<StringR
if (const Comdat *C = GV->getComdat())
if (!KeptComdats.count(C))
continue;
- if (!(Flags & object::BasicSymbolRef::SF_Global))
+ if (!(Flags & BasicSymbolRef::SF_Global))
continue;
uint8_t Visibility = getGvVisibility(GV);
More information about the llvm-commits
mailing list