[PATCH] D125517: [Frontend] [Coroutines] Emit error when we found incompatible allocation function in promise_type
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 20:42:34 PDT 2022
ChuanqiXu added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:11244
+def err_coroutine_unusable_new : Error<
+ "'operator new' provided by %0 is not usable with the function signature of %1"
+>;
----------------
The error message here following the wording of GCC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125517/new/
https://reviews.llvm.org/D125517
More information about the cfe-commits
mailing list