[PATCH] D82442: [Coroutines] Warning if the return type of coroutine_handle::address is not void*
Bruno Ricci via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 6 12:53:46 PDT 2020
riccibruno added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:10531
+def warn_coroutine_handle_address_invalid_return_type : Warning <
+ "return type of 'coroutine_handle<>::address should be 'void*' (have %0) in order to get capability with existing async C API.">,
+ InGroup<Coroutine>;
----------------
Should this be something like `[...] for compatibility with existing async C APIs` instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82442/new/
https://reviews.llvm.org/D82442
More information about the cfe-commits
mailing list