<?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 module.modulemap</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8a5943f5 - [Modules] Fix creating fake definition data for lambdas.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Modules/Inputs/self-referencing-lambda/module.modulemap#8a5943f5</link>
        <description>[Modules] Fix creating fake definition data for lambdas.During reading C++ definition data for lambda we can accessCXXRecordDecl representing lambda before we finished reading thedefinition data. This can happen by reading a captured variable which isVarDecl, then reading its decl context which is CXXMethodDecl `operator()`,then trying to merge redeclarable methods and accessingenclosing CXXRecordDecl. The call stack looks roughly like    VisitCXXRecordDecl      ReadCXXRecordDefinition        VisitVarDecl          VisitCXXMethodDecl            mergeRedeclarable              getPrimaryContextForMergingIf we add fake definition data at this point, later we&apos;ll hit the assertion    Assertion failed: (!DD.IsLambda &amp;&amp; !MergeDD.IsLambda &amp;&amp; &quot;faked up lambda definition?&quot;), function MergeDefinitionData, file clang/lib/Serialization/ASTReaderDecl.cpp, line 1675.The fix is to assign definition data before reading it. Fixes PR32556.rdar://problem/37461072Reviewers: rsmith, brunoReviewed By: rsmithSubscribers: cfe-commits, jkorous-apple, aprantlDifferential Revision: https://reviews.llvm.org/D43494llvm-svn: 328153

            List of files:
            /llvm-project-15.0.7/clang/test/Modules/Inputs/self-referencing-lambda/module.modulemap</description>
        <pubDate>Wed, 21 Mar 2018 21:28:54 +0000</pubDate>
        <dc:creator>Volodymyr Sapsai &lt;vsapsai@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
