[PATCH] D33333: Emit warning when throw exception in destruct or dealloc functions which has a (possible implicit) noexcept specifier
Jennifer Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 5 00:59:14 PDT 2017
jyu2 updated this revision to Diff 101373.
jyu2 added a comment.
Add more test include 1> throw/catch reference types. 2> try block. 3>unreachable code.
https://reviews.llvm.org/D33333
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/AnalysisBasedWarnings.cpp
test/CXX/except/except.spec/p11.cpp
test/SemaCXX/warn-throw-out-noexcept-func.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33333.101373.patch
Type: text/x-patch
Size: 14605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170605/b5bce75c/attachment-0001.bin>
More information about the cfe-commits
mailing list