[coroutines] Add diagnostics for copy/move assignment operators and functions with...
authorEric Fiselier <eric@efcs.ca>
Thu, 27 Oct 2016 18:43:28 +0000 (18:43 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 27 Oct 2016 18:43:28 +0000 (18:43 +0000)
commitc8efda7f80946f7a11471ecf22a4528f875b56e8
treea4f27bf3fa265778dca6a1ec81933137d455f0ba
parent430b3e48931d242fe22f4d8a1f76c0b953319a4a
[coroutines] Add diagnostics for copy/move assignment operators and functions with deduced return types.

Summary: The title says it all. Additionally this patch refactors the diagnostic code into a separate function.

Reviewers: GorNishanov, rsmith

Subscribers: majnemer, mehdi_amini, cfe-commits

Differential Revision: https://reviews.llvm.org/D25292

llvm-svn: 285331
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaCoroutine.cpp
clang/test/SemaCXX/coroutines.cpp