diff options
-rw-r--r-- | lld/ELF/InputFiles.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 18325784b8c..d4f24252113 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -661,8 +661,8 @@ Symbol *BitcodeFile::createSymbol(const DenseSet<const Comdat *> &KeptComdats, } bool BitcodeFile::shouldSkip(uint32_t Flags) { - return (!(Flags & BasicSymbolRef::SF_Global) || - Flags & BasicSymbolRef::SF_FormatSpecific); + return !(Flags & BasicSymbolRef::SF_Global) || + (Flags & BasicSymbolRef::SF_FormatSpecific); } template <class ELFT> |