summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-09 05:01:31 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-09 05:01:31 +0000
commit8d409e810a8a3620c2d46e163eea32417515a131 (patch)
tree415cbc977a2fbd94fc59ece6ee00e2141e49e5b5 /llvm/lib/CodeGen/StackProtector.cpp
parent7d271ae21d755db35713d478e349249972caee45 (diff)
downloadbcm5719-llvm-8d409e810a8a3620c2d46e163eea32417515a131.tar.gz
bcm5719-llvm-8d409e810a8a3620c2d46e163eea32417515a131.zip
[coroutines] Fix assertion in DependentCoawaitExpr when the argument is non-dependent.
Summary: A `co_await arg` expression has a dependent type whenever the promise type is still dependent, even if the argument to co_await is not. This is because we cannot attempt the `await_transform(<arg>)` until after we know the promise type. This patch fixes an assertion in the constructor of `DependentCoawaitExpr` that asserted that `arg` must also be dependent. Reviewers: rsmith, GorNishanov, aaron.ballman Reviewed By: GorNishanov Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D30772 llvm-svn: 297358
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud