Go to file
Eric Fiselier 8d409e810a [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
2017-03-09 05:01:31 +00:00
clang [coroutines] Fix assertion in DependentCoawaitExpr when the argument is non-dependent. 2017-03-09 05:01:31 +00:00
clang-tools-extra [clang-tidy] readability-function-size: remove default param count threshold 2017-03-08 22:19:55 +00:00
compiler-rt Use correct function signature for strerror_r interceptor 2017-03-08 22:51:03 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Disable unsigned integer sanitizer for basic_string::replace(). Patch from tomcherry@google.com 2017-03-09 01:54:13 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind DARWF: silence some warnings about conversions 2017-03-08 16:03:27 +00:00
lld Fix wrong assertion failure. 2017-03-09 04:47:33 +00:00
lldb Resubmit FileSystem changes. 2017-03-08 17:56:08 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm DAG: Check no signed zeros instead of unsafe math attribute 2017-03-09 01:36:39 +00:00
openmp Fix GNU strerror_r check for Android. 2017-03-07 22:18:05 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DeadCodeElim] Put -polly-dce-precise-steps into the Polly category. 2017-03-08 23:25:35 +00:00