]> granicus.if.org Git - clang/commit
[coroutines] Improved diagnostics when unhandled_exception is missing in the promise_type
authorGor Nishanov <GorNishanov@gmail.com>
Wed, 24 May 2017 14:34:19 +0000 (14:34 +0000)
committerGor Nishanov <GorNishanov@gmail.com>
Wed, 24 May 2017 14:34:19 +0000 (14:34 +0000)
commitcc243828c45d6a7e7c3daf89bcf3252192193e9c
treecb9c40da09b1ce2ca88ada992fa6ad70f36c338f
parentfa589cc9302c4982e13cccde57f10d22706906c1
[coroutines] Improved diagnostics when unhandled_exception is missing in the promise_type

Summary: Now we helpfully provide a note pointing at the promise_type in question.

Reviewers: EricWF, GorNishanov

Reviewed By: GorNishanov

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCoroutine.cpp
test/SemaCXX/coroutine-unhandled_exception-warning.cpp
test/SemaCXX/coroutines.cpp