[PATCH] D25292: [coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types.

David Majnemer via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 17:11:49 PDT 2016


majnemer added inline comments.


> SemaCoroutine.cpp:140
> +  // or the function 'main' are declared as a coroutine.
> +  CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD);
> +  if (MD && isa<CXXConstructorDecl>(MD))

`auto *`

https://reviews.llvm.org/D25292





More information about the cfe-commits mailing list