[PATCH] D18584: Complete support for C++ Core Guidelines Type.6: Always initialize a member variable.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 18 04:39:15 PDT 2016

alexfh added a comment.

FYI, the check has started crashing after this patch. I'll try to provide a minimal test case soon. The relevant part of the stack trace is:

  @     0x7fc9c255efa0          8  clang::Stmt::getLocStart()
  @     0x7fc9c48fdac1         64  clang::tidy::cppcoreguidelines::(anonymous namespace)::IntializerInsertion::getLocation()
  @     0x7fc9c49026d5       1696  clang::tidy::cppcoreguidelines::ProTypeMemberInitCheck::checkMissingBaseClassInitializer()
  @     0x7fc9c490424f         96  clang::tidy::cppcoreguidelines::ProTypeMemberInitCheck::check()



More information about the cfe-commits mailing list