Skip to content

Commit fd083d6

Browse files
erichkeaneIanWood1
authored andcommitted
[CIR] Change 'CIR-int' to use a 'APIntParameter' argument (llvm#136713)
After 4bcc414 an APInt parameter diagnoses, so this switches us to APIntParameter. I don't believe we need to put this in the incubator, as it'll get this in the same pulldown as the diagnostic.
1 parent 36e00c2 commit fd083d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/CIR/Dialect/IR/CIRAttrs.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def IntAttr : CIR_Attr<"Int", "int", [TypedAttrInterface]> {
114114
value of the specified integer type.
115115
}];
116116
let parameters = (ins AttributeSelfTypeParameter<"">:$type,
117-
"llvm::APInt":$value);
117+
APIntParameter<"">:$value);
118118
let builders = [
119119
AttrBuilderWithInferredContext<(ins "mlir::Type":$type,
120120
"const llvm::APInt &":$value), [{

0 commit comments

Comments
 (0)