llvm-project
cd754af5 - [Clang] Permit both `gnu` and `clang` prefixes on some attributes (#125796)

Commit
236 days ago
[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
Author
Parents
Loading