[clang] [clang][PAC] add support for options parameter to __ptrauth (PR #136828)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 23:04:08 PDT 2025


================
@@ -1735,8 +1735,8 @@ def warn_pragma_unroll_cuda_value_in_parens : Warning<
   "argument to '#pragma unroll' should not be in parentheses in CUDA C/C++">,
   InGroup<CudaCompat>;
 
-def err_ptrauth_qualifier_bad_arg_count : Error<
-  "'__ptrauth' qualifier must take between 1 and 3 arguments">;
+def err_ptrauth_qualifier_bad_arg_count
----------------
ojhunt wrote:

This is clang-format induced (aside from the 3 vs 4 change obviously) I can more the `Error<` back but it might be worth trying to work out how to stop clang-format from making this choice

https://github.com/llvm/llvm-project/pull/136828


More information about the cfe-commits mailing list