diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-28 02:51:45 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-03-28 02:51:45 +0000 |
commit | c4a1908681dfbac19239b956f811b0f666de0ecc (patch) | |
tree | 52508ad26700dd87bded781044fbae6276c1b944 /llvm/lib | |
parent | 3a6951250c642af1e2fe5cd72fe1deb740552451 (diff) | |
download | bcm5719-llvm-c4a1908681dfbac19239b956f811b0f666de0ecc.tar.gz bcm5719-llvm-c4a1908681dfbac19239b956f811b0f666de0ecc.zip |
Use BuildReturnStmt in SemaCoroutine to unbreak sanitizer tests.
FIXME: ActOnReturnStmt expects a scope that is inside of the function, due
to CheckJumpOutOfSEHFinally(*this, ReturnLoc, *CurScope->getFnParent());
S.getCurScope()->getFnParent() == nullptr at ActOnFinishFunctionBody when
CoroutineBodyStmt is built. Figure it out and fix it.
llvm-svn: 298893
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions