<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in p11.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>7538b35c - Address comments that escaped D33333</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#7538b35c</link>
        <description>Address comments that escaped D33333Patch By: Jen YuDifferential Revision:https://reviews.llvm.org/D34671llvm-svn: 307172

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Wed, 05 Jul 2017 16:43:45 +0000</pubDate>
        <dc:creator>Erich Keane &lt;erich.keane@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>89fe9c26 - Emit warning when throw exception in destruct or dealloc functions which has a </title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#89fe9c26</link>
        <description>Emit warning when throw exception in destruct or dealloc functions which has a (possible implicit) noexcept specifierThrowing in the destructor is not good (C++11 change try to not allow see below). But in reality, those codes are exist.C++11 [class.dtor]p3:A declaration of a destructor that does not have an exception-specification is implicitly considered to have the same exception specification as an implicit declaration.With this change, the application worked before may now run into runtime termination. My goal here is to emit a warning to provide only possible info to where the code may need to be changed.First there is no way, in compile time to identify the &#8220;throw&#8221; really throw out of the function. Things like the call which throw out&#8230; To keep this simple, when &#8220;throw&#8221; is seen, checking its enclosing function(only destructor and dealloc functions) with noexcept(true) specifier emit warning.Here is implementation detail:A new member function CheckCXXThrowInNonThrowingFunc is added for class Sema in Sema.h. It is used in the call to both BuildCXXThrow and TransformCXXThrowExpr.The function basic check if the enclosing function with non-throwing noexcept specifer, if so emit warning for it.The example of warning message like:k1.cpp:18:3: warning: &apos;&apos;~dependent_warn&apos;&apos; has a (possible implicit) non-throwing    noexcept specifier. Throwing exception may cause termination.        [-Wthrow-in-dtor]        throw 1;        ^        k1.cpp:43:30: note: in instantiation of member function        &apos;dependent_warn&lt;noexcept_fun&gt;::~dependent_warn&apos; requested here        dependent_warn&lt;noexcept_fun&gt; f; // cause warningDifferential Revision: https://reviews.llvm.org/D33333llvm-svn: 306149

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Fri, 23 Jun 2017 20:22:19 +0000</pubDate>
        <dc:creator>Erich Keane &lt;erich.keane@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>c9e2a689 - Clean up language and grammar.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#c9e2a689</link>
        <description>Clean up language and grammar.Based on a patch by jfcaron3@gmail.com!PR19806llvm-svn: 209215

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Tue, 20 May 2014 17:10:39 +0000</pubDate>
        <dc:creator>Eric Christopher &lt;echristo@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c6e68daa - Prior to adding the new &quot;expected-no-diagnostics&quot; directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#c6e68daa</link>
        <description>Prior to adding the new &quot;expected-no-diagnostics&quot; directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive.llvm-svn: 166280

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Fri, 19 Oct 2012 12:44:48 +0000</pubDate>
        <dc:creator>Andy Gibbs &lt;andyg1001@hotmail.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>9ca5c425 - Update all tests other than Driver/std.cpp to use -std=c++11 rather than</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#9ca5c425</link>
        <description>Update all tests other than Driver/std.cpp to use -std=c++11 rather than-std=c++0x. Patch by Ahmed Charles!llvm-svn: 141900

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Thu, 13 Oct 2011 22:29:44 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>849385bf - Add another, pretty trivial, exception spec test case.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp#849385bf</link>
        <description>Add another, pretty trivial, exception spec test case.llvm-svn: 127602

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/except/except.spec/p11.cpp</description>
        <pubDate>Mon, 14 Mar 2011 18:51:44 +0000</pubDate>
        <dc:creator>Sebastian Redl &lt;sebastian.redl@getdesigned.at&gt;</dc:creator>
    </item>
</channel>
</rss>
