[clang] [Clang][Sema] Properly get captured 'this' pointer in lambdas with an explicit object parameter in constant evaluator (PR #81102)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 08:06:01 PDT 2024
================
@@ -293,6 +293,9 @@ Bug Fixes to C++ Support
of templates. Previously we were diagnosing on any non-function template
instead of only on class, alias, and variable templates, as last updated by
CWG2032. Fixes (#GH#83461)
+- Fixed a bug and crashes in constant evaluation when trying to access a
+ captured ``this`` pointer in a lambda with an explicit object parameter.
----------------
cor3ntin wrote:
```suggestion
- Fixed a crash in constant evaluation when trying to access a
captured ``this`` pointer in a lambda with an explicit object parameter.
```
https://github.com/llvm/llvm-project/pull/81102
More information about the cfe-commits
mailing list