[clang] [llvm] [Clang][Coroutines] Introducing the `[[clang::coro_inplace_task]]` attribute (PR #94693)
Yuxuan Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 23:03:53 PDT 2024
================
@@ -5213,6 +5219,11 @@ class CoawaitExpr : public CoroutineSuspendExpr {
bool isImplicit() const { return CoawaitBits.IsImplicit; }
void setIsImplicit(bool value = true) { CoawaitBits.IsImplicit = value; }
+ bool isInplaceCall() const { return CoawaitBits.IsInplaceCall; }
+ void setIsInplaceCall(bool value = true) {
+ CoawaitBits.IsInplaceCall = value;
+ }
+
----------------
yuxuanchen1997 wrote:
Should probably decide on getting rid of this or the one on `CallExpr`.
https://github.com/llvm/llvm-project/pull/94693
More information about the llvm-commits
mailing list