Skip to content

Commit 31b0ffc

Browse files
committed
remove unnecessary curly braces
1 parent c60129b commit 31b0ffc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerModule.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,8 @@ createLowerModule(mlir::ModuleOp module, mlir::PatternRewriter &rewriter) {
245245
clang::LangOptions langOpts;
246246
if (auto langAttr = mlir::cast_if_present<cir::LangAttr>(
247247
module->getAttr(cir::CIRDialect::getLangAttrName()))) {
248-
if (langAttr.isCXX()) {
248+
if (langAttr.isCXX())
249249
langOpts.CPlusPlus = true;
250-
}
251250
}
252251

253252
// FIXME(cir): This just uses the default code generation options. We need to

0 commit comments

Comments
 (0)