Skip to content

Commit 2d3f11a

Browse files
committed
fix auto
1 parent 4fb0a4d commit 2d3f11a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/CIR/Dialect/Transforms/CallConvLowering.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ struct CallConvLoweringPattern : public OpRewritePattern<FuncOp> {
3636
return op.emitError("function has no AST information");
3737

3838
auto modOp = op->getParentOfType<ModuleOp>();
39-
auto lowerModule = createLowerModule(modOp, rewriter);
39+
std::unique_ptr<LowerModule> lowerModule =
40+
createLowerModule(modOp, rewriter);
4041

4142
// Rewrite function calls before definitions. This should be done before
4243
// lowering the definition.

0 commit comments

Comments
 (0)