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

Michael Miller via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 15:36:52 PDT 2016


michael_miller marked 4 inline comments as done.

================
Comment at: test/clang-tidy/cppcoreguidelines-pro-type-member-init.cpp:342
@@ +341,3 @@
+
+// This pathological template fails to compile if actually instantiated. It
+// results in the check seeing a null RecordDecl when examining the base class
----------------
Added a comment explaining why the check is there.


http://reviews.llvm.org/D19802





More information about the cfe-commits mailing list