================
@@ -18,6 +18,12 @@ using namespace clang::ast_matchers;
 
 namespace clang::tidy::cppcoreguidelines {
 
+namespace {
+AST_MATCHER(CXXRecordDecl, isInMacro) {
----------------
carlosgalvezp wrote:

(For another commit) This comes up often, maybe we can create an AST matcher 
for this that can be reused?

https://github.com/llvm/llvm-project/pull/143550
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to