[clang-tools-extra] [clang-tidy] Avoid processing declarations in system headers (PR #128150)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 22 05:46:04 PST 2025
Carlos =?utf-8?q?Gálvez?= <carlos.galvez at zenseact.com>,
Carlos =?utf-8?q?Gálvez?= <carlos.galvez at zenseact.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/128150 at github.com>
carlosgalvezp wrote:
> Will be better to use decorator pattern instead of ad preprocess consumer. Most of clang-tidy check does not reply on ast matcher result in system header. but it is maybe not suitable for static analyzer, especially for non-std system header.
Not sure I understand, can you explain in more detail what you mean by "decorator pattern"? What drawback do you see with the current implementation?
https://github.com/llvm/llvm-project/pull/128150
More information about the cfe-commits
mailing list