aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ProgramPoint.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-02-05 08:16:00 -0600
committerGitHub <noreply@github.com>2025-02-05 08:16:00 -0600
commitcd754af55f5b7f6f5371852843bc3613866232c2 (patch)
tree7489302b3ab639cf5eb4062eaf97d8d5f1d50ef4 /clang/lib/Analysis/ProgramPoint.cpp
parentccb08b9dab7d829f8d9703d8b46b98e2d6717d0e (diff)
downloadllvm-cd754af55f5b7f6f5371852843bc3613866232c2.zip
llvm-cd754af55f5b7f6f5371852843bc3613866232c2.tar.gz
llvm-cd754af55f5b7f6f5371852843bc3613866232c2.tar.bz2
[Clang] Permit both `gnu` and `clang` prefixes on some attributes (#125796)
Summary: Some attributes have gnu extensions that share names with clang attributes. If these imply the same thing, we can specially declare this to be an alternate but equivalent spelling. This patch enables this for `no_sanitize` and provides the infrastructure for more to be added if needed. Discussions welcome on whether or not we want to bind ourselves to GNU behavior, since theoretically it's possible for GNU to silently change the semantics away from our implementation, but I'm not an expert. Fixes: https://github.com/llvm/llvm-project/issues/125760
Diffstat (limited to 'clang/lib/Analysis/ProgramPoint.cpp')
0 files changed, 0 insertions, 0 deletions