[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
Tue Mar 11 06:32:27 PDT 2025
================
@@ -1573,19 +1574,42 @@ bool MatchASTVisitor::TraverseAttr(Attr *AttrNode) {
class MatchASTConsumer : public ASTConsumer {
public:
MatchASTConsumer(MatchFinder *Finder,
- MatchFinder::ParsingDoneTestCallback *ParsingDone)
- : Finder(Finder), ParsingDone(ParsingDone) {}
+ MatchFinder::ParsingDoneTestCallback *ParsingDone,
+ bool SkipSystemHeaders = false)
----------------
carlosgalvezp wrote:
Makes, sense fixed!
https://github.com/llvm/llvm-project/pull/128150
More information about the cfe-commits
mailing list