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

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 21 04:30:37 PDT 2025


5chmidti wrote:

Actually, the cxxRecordDecl might not be in a macro, but the special member functions are.
E.g.:
``` ` ` cpp
#define DEF_COPY(name) \
name(const name&) = default; \
name& operator=(const name&) = default;
` ` ` 

https://github.com/llvm/llvm-project/pull/143550


More information about the cfe-commits mailing list