[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 09:06:45 PDT 2016


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

- Added checks and tests for typeid
- Moved warnings into same warning group
- Check that only possibly evaluated expressions are checked


http://reviews.llvm.org/D19312

Files:
  include/clang/Basic/DiagnosticGroups.td
  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
  test/SemaCXX/ctor-init-with-typeid.cpp

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


More information about the cfe-commits mailing list