[PATCH] D35383: [coroutines] Add serialization/deserialization of coroutines

Yifeng Dong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 00:22:07 PST 2020


dongAxis1944 added inline comments.
Herald added a subscriber: lxfind.


================
Comment at: cfe/trunk/lib/AST/StmtCXX.cpp:107-108
+  Result->NumParams = NumParams;
+  auto *ParamBegin = Result->getStoredStmts() + SubStmt::FirstParamMove;
+  std::uninitialized_fill(ParamBegin, ParamBegin + NumParams,
+                          static_cast<Stmt *>(nullptr));
----------------
hello, i have a question about that why clang commit info of parameters again in coroutine body?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D35383/new/

https://reviews.llvm.org/D35383



More information about the cfe-commits mailing list