[clang-tools-extra] [clang-tidy] add 'IgnoreMarcos' option to 'special-member-functions' check (PR #143550)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 22 23:51:48 PDT 2025


================
@@ -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


More information about the cfe-commits mailing list