[clang] [CIR] Add boolean to the Complex type constraints msg (PR #170192)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 1 11:47:22 PST 2025
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/170192
Update the type constraints error message to also mention the boolean type
>From ca60a70e65fd5af5faca350b42524c30df8cb487 Mon Sep 17 00:00:00 2001
From: Amr Hesham <amr96 at programmer.net>
Date: Mon, 1 Dec 2025 20:46:26 +0100
Subject: [PATCH] [CIR] Add boolean to the Complex type constraints msg
---
clang/include/clang/CIR/Dialect/IR/CIRTypeConstraints.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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";
}
More information about the cfe-commits
mailing list