[PATCH] D19802: Fix a crash in cppcoreguidelines-pro-type-member-init when checking a class that initializes itself as a base

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 06:02:03 PDT 2016


aaron.ballman added inline comments.

================
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:342
@@ +341,3 @@
+
+template <typename T>
+class PositiveSelfInitialization : NegativeAggregateType
----------------
Is it required to be a templated class to trigger the crash?


http://reviews.llvm.org/D19802





More information about the cfe-commits mailing list