================ @@ -1031,10 +1031,12 @@ def err_ptrauth_qualifier_invalid : Error< "%select{return type|parameter type|property}1 may not be qualified with '__ptrauth'; type is %0">; def err_ptrauth_qualifier_cast : Error< "cannot cast to '__ptrauth'-qualified type %0">; -def err_ptrauth_qualifier_nonpointer : Error< - "'__ptrauth' qualifier only applies to pointer types; %0 is invalid">; -def err_ptrauth_qualifier_redundant : Error< - "type %0 is already %1-qualified">; +def err_ptrauth_qualifier_invalid_target + : Error<"'__ptrauth' qualifier only applies to pointer or pointer sized " + "integer" + " types; %0 is invalid">; +def err_ptrauth_qualifier_redundant + : Error<"type %0 is already __ptrauth-qualified">; ---------------- ojhunt wrote:
yeah I find the 80col breaks especially irksome in diagnostics, but also if we went to my preferred limit of 120 they'd be annoying to break :D https://github.com/llvm/llvm-project/pull/137580 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits