[llvm-bugs] [Bug 46147] Crash on clang_getCursor with lambda expression

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Aug 9 15:56:56 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46147

Aaron Puchert <aaronpuchert at alice-dsl.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |6e089e98a9d5d7d0dda259f68b8
                   |                            |ba7f4556cc5b3
             Status|NEW                         |RESOLVED
                 CC|                            |christian.kandeler at theqtcom
                   |                            |pany.com

--- Comment #7 from Aaron Puchert <aaronpuchert at alice-dsl.net> ---
Someone fixed the bug in https://reviews.llvm.org/D82629, so I'll close this.
The fix will be in Clang 11.

(In reply to Richard Smith from comment #6)
> I think we got this aspect of the design of lambda ASTs wrong. We shouldn't
> ever be tracking capture initializers on the `FieldDecl`, we should instead
> always track them as subexpressions of the `LambdaExpr`.
I'm still interested in looking into that, let's see if I can find the time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200809/3b13a2bf/attachment.html>


More information about the llvm-bugs mailing list