[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)
Anton Korobeynikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 8 23:01:01 PDT 2024
================
@@ -956,6 +956,25 @@ def err_ptrauth_indirect_goto_addrlabel_arithmetic : Error<
"%select{subtraction|addition}0 of address-of-label expressions is not "
"supported with ptrauth indirect gotos">;
+// __ptrauth qualifier
+def err_ptrauth_qualifier_invalid : Error<
+ "%select{return types|parameter types|properties}2 may not be qualified with %select{__ptrauth|__ptrauth_restricted_intptr}1; type is %0">;
----------------
asl wrote:
ditto
https://github.com/llvm/llvm-project/pull/100830
More information about the cfe-commits
mailing list