<?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 p5.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>afe48f9d - Fold -Wreturn-stack-address into general initialization lifetime</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#afe48f9d</link>
        <description>Fold -Wreturn-stack-address into general initialization lifetimechecking.llvm-svn: 337743

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Mon, 23 Jul 2018 21:21:22 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>d87aab93 - Restructure checking for, and warning on, lifetime extension.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#d87aab93</link>
        <description>Restructure checking for, and warning on, lifetime extension.This change implements C++ DR1696, which makes initialization of areference member of a class from a temporary object ill-formed. Thestandard wording here is imprecise, but we interpret it as meaning thatany time a mem-initializer would result in lifetime extension, theprogram is ill-formed.This reinstates r337226, reverted in r337255, with a fix for theInitializedEntity alignment problem that was breaking ARM buildbots.llvm-svn: 337329

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Tue, 17 Jul 2018 22:24:09 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>0aa117dd - Temporarily revert r337226 &quot;Restructure checking for, and warning on, lifetime extension.&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#0aa117dd</link>
        <description>Temporarily revert r337226 &quot;Restructure checking for, and warning on, lifetime extension.&quot;This change breaks on ARM because pointers to clang::InitializedEntity are only4 byte aligned and do not have 3 bits to store values. A possible solutionwould be to change the fields in clang::InitializedEntity to enforce a biggeralignment requirement.The error message isllvm/include/llvm/ADT/PointerIntPair.h:132:3: error: static_assert failed &quot;PointerIntPair with integer size too large for pointer&quot;  static_assert(IntBits &lt;= PtrTraits::NumLowBitsAvailable,include/llvm/ADT/PointerIntPair.h:73:13: note: in instantiation of template class &apos;llvm::PointerIntPairInfo&lt;const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits&lt;const clang::InitializedEntity *&gt; &gt;&apos; requested here    Value = Info::updateInt(Info::updatePointer(0, PtrVal),llvm/include/llvm/ADT/PointerIntPair.h:51:5: note: in instantiation of member function &apos;llvm::PointerIntPair&lt;const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits&lt;const clang::InitializedEntity *&gt;, llvm::PointerIntPairInfo&lt;const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits&lt;const clang::InitializedEntity *&gt; &gt; &gt;::setPointerAndInt&apos; requested here    setPointerAndInt(PtrVal, IntVal);    ^llvm/tools/clang/lib/Sema/SemaInit.cpp:6237:12: note: in instantiation of member function &apos;llvm::PointerIntPair&lt;const clang::InitializedEntity *, 3, (anonymous namespace)::LifetimeKind, llvm::PointerLikeTypeTraits&lt;const clang::InitializedEntity *&gt;, llvm::PointerIntPairInfo&lt;const clang::InitializedEntity *, 3, llvm::PointerLikeTypeTraits&lt;const clang::InitializedEntity *&gt; &gt; &gt;::PointerIntPair&apos; requested here    return {Entity, LK_Extended};Full log here:http://lab.llvm.org:8011/builders/clang-cmake-armv7-global-isel/builds/1330http://lab.llvm.org:8011/builders/clang-cmake-armv7-full/builds/1394llvm-svn: 337255

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Tue, 17 Jul 2018 09:23:31 +0000</pubDate>
        <dc:creator>Florian Hahn &lt;florian.hahn@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>0a9969b3 - Restructure checking for, and warning on, lifetime extension.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#0a9969b3</link>
        <description>Restructure checking for, and warning on, lifetime extension.This change implements C++ DR1696, which makes initialization of areference member of a class from a temporary object ill-formed. Thestandard wording here is imprecise, but we interpret it as meaning thatany time a mem-initializer would result in lifetime extension, theprogram is ill-formed.llvm-svn: 337226

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Tue, 17 Jul 2018 00:11:41 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>d6a15082 - PR23135: Don&apos;t instantiate constexpr functions referenced in unevaluated operands where possible.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#d6a15082</link>
        <description>PR23135: Don&apos;t instantiate constexpr functions referenced in unevaluated operands where possible.This implements something like the current direction of DR1581: we use a narrowsyntactic check to determine the set of places where a constant expressioncould be evaluated, and only instantiate a constexpr function or variable ifit&apos;s referenced in one of those contexts, or is odr-used.It&apos;s not yet clear whether this is the right set of syntactic locations; wecurrently consider all contexts within templates that would result in odr-usesafter instantiation, and contexts within list-initialization (narrowingconversions take another victim...), as requiring instantiation. We could inprinciple restrict the former cases more (only const integral / referencevariable initializers, and contexts in which a constant expression is required,perhaps). However, this is sufficient to allow us to accept libstdc++ code,which relies on GCC&apos;s behavior (which appears to be somewhat similar to thisapproach).llvm-svn: 291318

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Sat, 07 Jan 2017 00:48:55 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>d60b82f9 - Handle use of default member initializers before end of outermost class</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#d60b82f9</link>
        <description>Handle use of default member initializers before end of outermost classSpecifically, when we have this situation:  struct A {    template &lt;typename T&gt; struct B {      int m1 = sizeof(A);    };    B&lt;int&gt; m2;  };We can&apos;t parse m1&apos;s initializer eagerly because we need A to becomplete.  Therefore we wait until the end of A&apos;s class scope to parseit. However, we can trigger instantiation of B before the end of A,which will attempt to instantiate the field decls eagerly, and it wouldbuild a bad field decl instantiation that said it had an initializer butactually lacked one.Fixed by deferring instantiation of default member initializers untilthey are needed during constructor analysis. This addresses a longstanding FIXME in the code.Fixes PR19195.Reviewed By: rsmithDifferential Revision: http://reviews.llvm.org/D5690llvm-svn: 222192

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Mon, 17 Nov 2014 23:36:45 +0000</pubDate>
        <dc:creator>Reid Kleckner &lt;reid@kleckner.net&gt;</dc:creator>
    </item>
<item>
        <title>e3b28bc3 - Move detection of reference members binding to temporaries from building of</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#e3b28bc3</link>
        <description>Move detection of reference members binding to temporaries from building ofCXXCtorInitializers to the point where we perform the questionable lifetimeextension. This exposed a selection of false negatives in the warning.llvm-svn: 183869

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Wed, 12 Jun 2013 21:51:50 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&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/temp/temp.param/p5.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/temp/temp.param/p5.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>d0e1c95d - Implement [temp.param]p5: the top-level cv-qualifiers on a non-type template</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp#d0e1c95d</link>
        <description>Implement [temp.param]p5: the top-level cv-qualifiers on a non-type templateparameter&apos;s declaration are ignored when determining the parameter&apos;s type.llvm-svn: 152619

            List of files:
            /llvm-project-15.0.7/clang/test/CXX/temp/temp.param/p5.cpp</description>
        <pubDate>Tue, 13 Mar 2012 07:21:50 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
</channel>
</rss>
