[clang] [C++20][Coroutines] Lambda-coroutine with operator new in promise_type (PR #84193)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 23:06:46 PST 2024
================
@@ -6898,10 +6898,18 @@ class Sema final {
BinaryOperatorKind Operator);
//// ActOnCXXThis - Parse 'this' pointer.
- ExprResult ActOnCXXThis(SourceLocation loc);
+ ///
+ /// \param SkipLambdaCaptureCheck Whether to skip the 'this' check for a
+ /// lambda because 'this' is the lambda's 'this'-pointer.
+ ExprResult ActOnCXXThis(SourceLocation loc,
+ bool SkipLambdaCaptureCheck = false);
----------------
ChuanqiXu9 wrote:
Excellent. Good. I suggest you to update this to the inline comments.
https://github.com/llvm/llvm-project/pull/84193
More information about the cfe-commits
mailing list