[clang] [CIR] Add boolean to the Complex type constraints msg (PR #170192)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 1 11:47:53 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
<details>
<summary>Changes</summary>
Update the type constraints error message to also mention the boolean type
---
Full diff: https://github.com/llvm/llvm-project/pull/170192.diff
1 Files Affected:
- (modified) clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td (+1-1)
``````````diff
diff --git a/clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td b/clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td
index b2c146c5d2c39..ddca98eac93ab 100644
--- a/clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td
+++ b/clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td
@@ -173,7 +173,7 @@ def CIR_AnyComplexType : CIR_TypeBase<"::cir::ComplexType", "complex type">;
def CIR_AnyComplexOrIntOrBoolOrFloatType
: AnyTypeOf<[CIR_AnyComplexType, CIR_AnyIntOrBoolOrFloatType],
- "complex, integer or floating point type"> {
+ "complex, integer, boolean or floating point type"> {
let cppFunctionName = "isComplexOrIntegerOrBoolOrFloatingPointType";
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/170192
More information about the cfe-commits
mailing list