[PATCH] D19312: Warn about UB at member function calls from base class ctor initializers.

Raphael Isemann via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 05:09:26 PDT 2016


teemperor updated this revision to Diff 55189.
teemperor added a comment.

- Moved checks to the UninitializedFieldVisitor
- Also check for dynamic_cast on this during construction


http://reviews.llvm.org/D19312

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclCXX.cpp
  test/SemaCXX/ctor-init-with-dynamic-cast.cpp
  test/SemaCXX/ctor-init-with-member-call-std.cpp
  test/SemaCXX/ctor-init-with-member-call.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19312.55189.patch
Type: text/x-patch
Size: 7903 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160427/a40ee43d/attachment.bin>


More information about the cfe-commits mailing list