<?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 Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8184b252 - [LLDB][ClangExpression] Allow expression evaluation from within C++ Lambdas</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/test/API/commands/expression/expr_inside_lambda/Makefile#8184b252</link>
        <description>[LLDB][ClangExpression] Allow expression evaluation from within C++ LambdasThis patch adds support for evaluating expressions which referencea captured `this` from within the context of a C++ lambda expression.Currently LLDB doesn&apos;t provide Clang with enough information todetermine that we&apos;re inside a lambda expression and are allowed toaccess variables on a captured `this`; instead Clang simply failsto parse the expression.There are two problems to solve here:1. Make sure `clang::Sema` doesn&apos;t reject the expression due to anillegal member access.2. Materialize all the captured variables/member variables requiredto evaluate the expression.To address (1), we currently import the outer structure&apos;s AST contextonto `$__lldb_class`, making the `contextClass` and the `NamingClass`match, a requirement by `clang::Sema::BuildPossibleImplicitMemberExpr`.To address (2), we inject all captured variables as locals into theexpression source code.**Testing*** Added API test

            List of files:
            /llvm-project-15.0.7/lldb/test/API/commands/expression/expr_inside_lambda/Makefile</description>
        <pubDate>Tue, 12 Jul 2022 08:40:12 +0000</pubDate>
        <dc:creator>Michael Buch &lt;michaelbuch12@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
