[PATCH] D19802: Fix a crash in cppcoreguidelines-pro-type-member-init when checking a class that initializes itself as a base
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 10:56:28 PDT 2016
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
LGTM. Thanks!
================
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:342
@@ +341,3 @@
+
+template <typename T>
+class PositiveSelfInitialization : NegativeAggregateType
----------------
aaron.ballman wrote:
> Is it required to be a templated class to trigger the crash?
Yes, it's required.
http://reviews.llvm.org/D19802
More information about the cfe-commits
mailing list