<?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 PR23334.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>c38498f0 - PR23334: Perform semantic checking of lambda capture initialization in the right context.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/PR23334.cpp#c38498f0</link>
        <description>PR23334: Perform semantic checking of lambda capture initialization in the right context.Previously we&apos;d try to perform checks on the captures from the middle ofparsing the lambda&apos;s body, at the point where we detected that a variableneeded to be captured. This was wrong in a number of subtle ways. InPR23334, we couldn&apos;t correctly handle the list of potential odr-usesresulting from the capture, and our attempt to recover from that resultedin a use-after-free.We now defer building the initialization expression until we leave the lambdabody and return to the enclosing context, where the initialization does theright thing. This patch only covers lambda-expressions, but we should applythe same change to blocks and captured statements too.llvm-svn: 235921

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/PR23334.cpp</description>
        <pubDate>Mon, 27 Apr 2015 21:27:54 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
</channel>
</rss>
