[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
Thu Apr 21 00:42:40 PDT 2016


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

- Standard reference is now specifying what standard (C++11)
- Added test based on the standard example
- Also check base classes now for member calls (to pass the test from the standard example).


http://reviews.llvm.org/D19312

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclCXX.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.54464.patch
Type: text/x-patch
Size: 6211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160421/9631450e/attachment.bin>


More information about the cfe-commits mailing list