Skip to content

Commit 2d11ae0

Browse files
committed
Fix a -Wparenthesis warning in 8ff44e6, NFC
1 parent 9523cf0 commit 2d11ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CodeGenModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F,
19891989
}
19901990

19911991
void CodeGenModule::addUsedGlobal(llvm::GlobalValue *GV) {
1992-
assert(isa<llvm::Function>(GV) || !GV->isDeclaration() &&
1992+
assert((isa<llvm::Function>(GV) || !GV->isDeclaration()) &&
19931993
"Only globals with definition can force usage.");
19941994
LLVMUsed.emplace_back(GV);
19951995
}

0 commit comments

Comments
 (0)