Skip to content

Commit c60129b

Browse files
committed
remove unnecessary curly braces
1 parent cfeeb8d commit c60129b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

clang/lib/CIR/Lowering/DirectToLLVM/LowerTBAAToLLVM.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@ class CIRToLLVMTBAAAttrLowering {
4444

4545
private:
4646
mlir::LLVM::TBAARootAttr getRoot() {
47-
if (isCPlusPlus) {
47+
if (isCPlusPlus)
4848
return createTBAARoot("Simple C++ TBAA");
49-
} else {
50-
return createTBAARoot("Simple C/C++ TBAA");
51-
}
49+
50+
return createTBAARoot("Simple C/C++ TBAA");
5251
}
5352

5453
mlir::LLVM::TBAATypeDescriptorAttr getChar() {

0 commit comments

Comments
 (0)