aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2025-05-03 01:18:20 -0700
committerGitHub <noreply@github.com>2025-05-03 01:18:20 -0700
commit1c68e0e4814e7e0f006a238e1c656c78aa10516b (patch)
treee7de3b7e4c880d7c51b4ec202a7dff2a4a5e527b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parentb006756d44def73fda09c7cb99b1c2347436aadb (diff)
downloadllvm-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