diff options
author | Oliver Hunt <oliver@apple.com> | 2025-05-03 01:18:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-03 01:18:20 -0700 |
commit | 1c68e0e4814e7e0f006a238e1c656c78aa10516b (patch) | |
tree | e7de3b7e4c880d7c51b4ec202a7dff2a4a5e527b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | b006756d44def73fda09c7cb99b1c2347436aadb (diff) | |
download | llvm-1c68e0e4814e7e0f006a238e1c656c78aa10516b.zip llvm-1c68e0e4814e7e0f006a238e1c656c78aa10516b.tar.gz llvm-1c68e0e4814e7e0f006a238e1c656c78aa10516b.tar.bz2 |
[clang][ptrauth] reject incorrectly placed ptrauth qualifier (#138376)
When parsing a function pointer typed field we use
Parser::ParseTypeQualifierListOpt, but then drops subsequent type
attributes and qualifiers unless explicitly handled.
There is an existing solution for the _Atomic qualifier, and this PR
simply extends that to __ptrauth for now. In future we may want to
investigate a more robust mechanism to ensure type qualifiers are not
silently dropped so that future type qualifiers do not suffer the same
problem.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions