<?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-global-constructors.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d4503da4 - Unnamed bitfields don&apos;t block constant evaluation of constexpr ctors</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#d4503da4</link>
        <description>Unnamed bitfields don&apos;t block constant evaluation of constexpr ctorsC++14 [dcl.constexpr]p4 states that in the body of a constexprconstructor,&gt; every non-variant non-static data member and base class sub-object  shall be initializedHowever, [class.bit]p2 notes that&gt; Unnamed bit-fields are not members and cannot be initialized.Therefore, we should make sure to filter them out of the check thatall fields are initialized.Fixing this makes the constant evaluator a bit smarter, andspecifically allows constexpr constructors to avoid tripping-Wglobal-constructors when the type contains unnamed bitfields.Reviewed at https://reviews.llvm.org/D39035.llvm-svn: 316408

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Tue, 24 Oct 2017 02:17:07 +0000</pubDate>
        <dc:creator>Jordan Rose &lt;jordan_rose@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>142dd46c - Add a missing Invalid check to SubobjectDesignator::isOnePastEnd()</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#142dd46c</link>
        <description>Add a missing Invalid check to SubobjectDesignator::isOnePastEnd()The class seems to have an invariant that Entries is non-empty ifInvalid is false.  It appears this method was previously private, andall internal uses checked Invalid.  Now there is an external caller, socheck Invalid to avoid array OOB underflow.Fixes PR20420.llvm-svn: 213816

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Wed, 23 Jul 2014 23:24:25 +0000</pubDate>
        <dc:creator>Reid Kleckner &lt;reid@kleckner.net&gt;</dc:creator>
    </item>
<item>
        <title>5604a277 - Don&apos;t emit exit-time destructor warnings for trivial explicitly defaulted dtors</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#5604a277</link>
        <description>Don&apos;t emit exit-time destructor warnings for trivial explicitly defaulted dtorsThis commit also adds an additional test case for the global destructor warning.Reviewed in http://llvm-reviews.chandlerc.com/D3205llvm-svn: 204954

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Thu, 27 Mar 2014 20:23:36 +0000</pubDate>
        <dc:creator>Stephan Tolksdorf &lt;st@quanttec.com&gt;</dc:creator>
    </item>
<item>
        <title>c511f43b - -Wglobal-constructors: Don&apos;t warn on trivial defaulted dtors</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#c511f43b</link>
        <description>-Wglobal-constructors: Don&apos;t warn on trivial defaulted dtorsFixes PR19253.llvm-svn: 204825

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Wed, 26 Mar 2014 15:58:20 +0000</pubDate>
        <dc:creator>Reid Kleckner &lt;reid@kleckner.net&gt;</dc:creator>
    </item>
<item>
        <title>4c27ac23 - Make Expr::isConstantInitializer match IRGen.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#4c27ac23</link>
        <description>Make Expr::isConstantInitializer match IRGen.Sema needs to be able to accurately determine what will beemitted as a constant initializer and what will not, sowe get accurate errors in C and accurate -Wglobal-constructorswarnings in C++.  This makes Expr::isConstantInitializer matchCGExprConstant as closely as possible.llvm-svn: 186464

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Tue, 16 Jul 2013 22:40:53 +0000</pubDate>
        <dc:creator>Eli Friedman &lt;eli.friedman@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>554eba9c - PR9669: implement correct checking for [dcl.init.string]p2.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#554eba9c</link>
        <description>PR9669: implement correct checking for [dcl.init.string]p2.llvm-svn: 129260

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Mon, 11 Apr 2011 00:23:45 +0000</pubDate>
        <dc:creator>Eli Friedman &lt;eli.friedman@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>386dfc73 - static local variables with destructors don&apos;t require a global destructor</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#386dfc73</link>
        <description>static local variables with destructors don&apos;t require a global destructorunless we&apos;re on a platform without __cxa_atexit (or use thereof has beendisabled).  This patch actually just disables the check completely forstatic locals, but I&apos;ve filed http://llvm.org/bugs/show_bug.cgi?id=8176 totrack the platform-specific fix.llvm-svn: 114269

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Sat, 18 Sep 2010 05:25:11 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>7a626f63 - one piece of code is responsible for the lifetime of every aggregate</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#7a626f63</link>
        <description>one piece of code is responsible for the lifetime of every aggregateslot.  The easiest way to do that was to bundle up the informationwe care about for aggregate slots into a new structure which demandsthat its creators at least consider the question.I could probably be convinced that the ObjC &apos;needs GC&apos; bit shouldbe rolled into this structure.Implement generalized copy elision.  The main obstacle here is thatIR-generation must be much more careful about making sure that exactlyllvm-svn: 113962

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Wed, 15 Sep 2010 10:14:12 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>02f1eebd - Don&apos;t give &apos;global constructor&apos; warnings for function statics, even if they have a direct initializer. Fixes PR8095.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#02f1eebd</link>
        <description>Don&apos;t give &apos;global constructor&apos; warnings for function statics, even if they have a direct initializer. Fixes PR8095.llvm-svn: 113344

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Wed, 08 Sep 2010 04:46:19 +0000</pubDate>
        <dc:creator>Sebastian Redl &lt;sebastian.redl@getdesigned.at&gt;</dc:creator>
    </item>
<item>
        <title>4013404e - Static local variables don&apos;t result in global constructors being emitted.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#4013404e</link>
        <description>Static local variables don&apos;t result in global constructors being emitted.llvm-svn: 112933

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Fri, 03 Sep 2010 01:11:38 +0000</pubDate>
        <dc:creator>Anders Carlsson &lt;andersca@mac.com&gt;</dc:creator>
    </item>
<item>
        <title>8b0f4ff3 - Further adjustments to -Wglobal-constructors;  works for references and direct</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#8b0f4ff3</link>
        <description>Further adjustments to -Wglobal-constructors;  works for references and directinitializations now.llvm-svn: 110063

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Mon, 02 Aug 2010 21:13:48 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>81c9cea2 - Kill off RequiresGlobalConstructor in favor of isConstantInitializer.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#81c9cea2</link>
        <description>Kill off RequiresGlobalConstructor in favor of isConstantInitializer.Note some obvious false positives in the test case.llvm-svn: 109986

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Sun, 01 Aug 2010 21:51:45 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>47e40931 - Make a first pass at implementing -Wglobal-constructors.  I&apos;m worried that this</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp#47e40931</link>
        <description>Make a first pass at implementing -Wglobal-constructors.  I&apos;m worried that thiswill end up bizarrely mirroring CGExprConstant, but that might be the hazard ofthis feature.llvm-svn: 109984

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-global-constructors.cpp</description>
        <pubDate>Sun, 01 Aug 2010 20:20:59 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
