diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-06 22:52:28 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-06 22:52:28 +0000 |
commit | 89bf0e725f6fc80845d434fcf0d7772bbb5d4978 (patch) | |
tree | 84c165900aaaa66599cb0fd7b9c06ca70339dacd /clang/lib/AST/Expr.cpp | |
parent | c282d22377ff096182908a9bfedcb3ac32121e34 (diff) | |
download | bcm5719-llvm-89bf0e725f6fc80845d434fcf0d7772bbb5d4978.tar.gz bcm5719-llvm-89bf0e725f6fc80845d434fcf0d7772bbb5d4978.zip |
[coroutines] Improve diagnostics when building implicit constructs.
Previously when a coroutine was building the implicit setup/destroy
constructs it would emit diagostics about failures on the first co_await/co_return/co_yield
it encountered. This was confusing because that construct may not itself be ill-formed.
This patch moves the diagnostics to the function start instead.
llvm-svn: 297089
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
0 files changed, 0 insertions, 0 deletions