[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 5 07:00:34 PST 2025
================
@@ -3401,6 +3401,40 @@ void Parser::DistributeCLateParsedAttrs(Decl *Dcl,
}
}
+/// type-qualifier:
+/// ('__ptrauth') '(' constant-expression
+/// (',' constant-expression)[opt]
+/// (',' constant-expression)[opt] ')'
+void Parser::ParsePtrauthQualifier(ParsedAttributes &attrs) {
----------------
AaronBallman wrote:
```suggestion
void Parser::ParsePtrauthQualifier(ParsedAttributes &Attrs) {
```
https://github.com/llvm/llvm-project/pull/100830
More information about the cfe-commits
mailing list