[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 20 08:03:22 PST 2025
================
@@ -9358,6 +9398,8 @@ def ext_typecheck_cond_pointer_integer_mismatch : ExtWarn<
"pointer/integer type mismatch in conditional expression"
"%diff{ ($ and $)|}0,1">,
InGroup<DiagGroup<"conditional-type-mismatch">>;
+def err_typecheck_cond_incompatible_ptrauth : Error<
+ "__ptrauth qualification mismatch%diff{ ($ and $)|}0,1">;
----------------
AaronBallman wrote:
```suggestion
";__ptrauth' qualification mismatch%diff{ ($ and $)|}0,1">;
```
https://github.com/llvm/llvm-project/pull/100830
More information about the cfe-commits
mailing list