We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119873c commit c321248Copy full SHA for c321248
clang/include/clang/CIR/Dialect/IR/CIRDataLayout.h
@@ -95,9 +95,7 @@ class CIRDataLayout {
95
96
mlir::Type getIntPtrType(mlir::Type Ty) const {
97
assert(mlir::isa<cir::PointerType>(Ty) && "Expected pointer type");
98
- auto IntTy =
99
- cir::IntType::get(Ty.getContext(), getPointerTypeSizeInBits(Ty), false);
100
- return IntTy;
+ return cir::IntType::get(ty.getContext(), getPointerTypeSizeInBits(ty), false);
101
}
102
};
103
0 commit comments