Skip to content

Commit 7b2ee46

Browse files
authored
[CIR] Add boolean to the Complex type constraints msg (#170192)
Update the type constraints error message to also mention the boolean type
1 parent d7b5469 commit 7b2ee46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def CIR_AnyComplexType : CIR_TypeBase<"::cir::ComplexType", "complex type">;
173173

174174
def CIR_AnyComplexOrIntOrBoolOrFloatType
175175
: AnyTypeOf<[CIR_AnyComplexType, CIR_AnyIntOrBoolOrFloatType],
176-
"complex, integer or floating point type"> {
176+
"complex, integer, boolean or floating point type"> {
177177
let cppFunctionName = "isComplexOrIntegerOrBoolOrFloatingPointType";
178178
}
179179

0 commit comments

Comments
 (0)