[clang] [clang] WIP: Warn on mismatched RequiresCapability attributes (PR #67520)

Aaron Puchert via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 30 16:56:14 PDT 2024


https://github.com/aaronpuchert commented:

This probably fits better in `Sema/SemaDeclAttr.cpp`. Maybe `checkLockFunAttrCommon` is a good place. Add a test to `clang/test/Sema/attr-capabilities.c{,pp}`.


https://github.com/llvm/llvm-project/pull/67520


More information about the cfe-commits mailing list