Skip to content

Commit 15249ba

Browse files
Michael137zeroomega
authored andcommitted
fixup! add braces to adhere to llvm-code style
1 parent 7d9c6a6 commit 15249ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5522,8 +5522,9 @@ void CGDebugInfo::EmitGlobalVariable(llvm::GlobalVariable *Var,
55225522
if (Expr.empty()) {
55235523
if (auto const *InitVal = evaluateConstantInitializer(D))
55245524
E = createConstantValueExpression(D, *InitVal);
5525-
} else
5525+
} else {
55265526
E = DBuilder.createExpression(Expr);
5527+
}
55275528

55285529
llvm::DINodeArray Annotations = CollectBTFDeclTagAnnotations(D);
55295530
GVE = DBuilder.createGlobalVariableExpression(

0 commit comments

Comments
 (0)