[clang] [clang] Validate ABI tag attributes (PR #84272)

2024-03-06 Thread Виктор Чернякин via cfe-commits
https://github.com/LocalSpook edited https://github.com/llvm/llvm-project/pull/84272 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Validate ABI tag attributes (PR #84272)

2024-03-06 Thread Виктор Чернякин via cfe-commits
https://github.com/LocalSpook created https://github.com/llvm/llvm-project/pull/84272 This PR adds checks to make sure the ABI tag given in `[[gnu::abi_tag("")]]` attribute is valid. Example errors: ```text :1:16: error: ABI tag cannot be empty 1 | [[gnu::abi_tag("")]] void f(); |