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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to