[clang] [clang-tools-extra] [clang-tidy] Avoid processing declarations in system headers (PR #128150)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 20 10:40:56 PDT 2025


carlosgalvezp wrote:

Thanks for the info, sorry this created trouble for you!

An option to turn this behavior off should be easy to add. It's however problematic if it lasts for more than one release because it's harder to deprecate later. 

It would be good to have a unit test of this case, would the one in the CERT check mentioned above be sufficient? 


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


More information about the cfe-commits mailing list