Skip to content

Commit fed455c

Browse files
committed
codestyle
1 parent 55f33fb commit fed455c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/lib/CIR/CodeGen/CIRGenModule.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3346,9 +3346,8 @@ void CIRGenModule::emitModuleLinkOptions() {
33463346

33473347
// Add the linker options metadata flag.
33483348
llvm::SmallVector<mlir::Attribute, 16> args;
3349-
for (const auto &opt : linkerOptionsMetadata) {
3349+
for (const auto &opt : linkerOptionsMetadata)
33503350
args.push_back(opt);
3351-
}
33523351
mlir::ArrayAttr arr = builder.getArrayAttr(args);
33533352
getBuilder().create<cir::LinkerOptionsOp>(theModule->getLoc(), arr);
33543353
}

clang/test/CIR/Lowering/linker-options.cir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: cir-opt -cir-to-llvm %s | FileCheck %s
22

33
module {
4-
cir.linker_options ["/DEFAULTLIB:", "libcmt"]
4+
cir.linker_options ["/DEFAULTLIB:", "libcmt"]
55
}
66

77
// CHECK: module {

0 commit comments

Comments
 (0)