This patch is lifting matchers used by more than one checkers
to the common namespace.
Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tidy/utils/Matchers.h | ||
---|---|---|
20 | All these should go to ASTMatchers.h (with tests and documentation). |
Comment Actions
Who is the owner of ASTMatcher?
If he is willing to receive these matchers in ASTMatcher, I'll lift them.
Otherwise, we should at least lift them within clang-tidy.
Comment Actions
Send a patch to sbenza or klimek. I think, these matchers are generic enough to be useful in the core matchers library.
Comment Actions
LG. Thank you!
clang-tidy/utils/Matchers.h | ||
---|---|---|
20 | Consider moving this to ASTMatchers.h in a follow-up. |
clang-tidy/utils/Matchers.h | ||
---|---|---|
20 | Honestly, this one is a lot less interesting as a public AST matcher. I would avoid that unless there's a really solid case for it. |
All these should go to ASTMatchers.h (with tests and documentation).