[clang-tools-extra] [clang-tidy] Do not lint on attribute macros (PR #164806)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 24 11:23:12 PDT 2025


carlosgalvezp wrote:

> > ES.31
> 
> I see that this rule is interesting. It could possibly make code harder to deal with feature variety in real world compilers. Macros are quite useful to provide a uniform access to compiler features. This rules do not seem to take this into calculation unfortunately...

Yep, the rule is quite strict. Typically this is handled with options to make it less strict.

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


More information about the cfe-commits mailing list