<?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 warn-dangling-field.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>ca975b2f - Fold dangling-field warning into general initialization lifetime checks.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-dangling-field.cpp#ca975b2f</link>
        <description>Fold dangling-field warning into general initialization lifetime checks.This reinstates r337627, reverted in r337671, with a fix to correctlyhandle the lvalueness of array subscript expressions on pointers.llvm-svn: 337726

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-dangling-field.cpp</description>
        <pubDate>Mon, 23 Jul 2018 18:50:26 +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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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>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/SemaCXX/warn-dangling-field.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/SemaCXX/warn-dangling-field.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>d551d4e1 - Teach -Wdangling-field to warn about temporaries bound to references as</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-dangling-field.cpp#d551d4e1</link>
        <description>Teach -Wdangling-field to warn about temporaries bound to references aswell.Also, clean up the flow of the code a bit, and factor things morenicely.Finally, add the test case that was missing from my previouscommit (sorry), with new tests added to cover temporaries and other funcases.llvm-svn: 139077

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-dangling-field.cpp</description>
        <pubDate>Sat, 03 Sep 2011 02:21:57 +0000</pubDate>
        <dc:creator>Chandler Carruth &lt;chandlerc@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
