[clang-tools-extra] [clang-tidy] Fix `cppcoreguidelines-prefer-member-initializer` false positive for inherited members (PR #153941)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 17 00:08:42 PDT 2025
================
@@ -650,3 +650,20 @@ struct InitFromBindingDecl {
}
};
} // namespace GH82970
+
+namespace inherited_members {
----------------
carlosgalvezp wrote:
Personally I would just remove the namespace altogether, most checks have tests for templates without handling them any differently.
https://github.com/llvm/llvm-project/pull/153941
More information about the cfe-commits
mailing list