llvm-project/clang/test/SemaCXX/Inputs
Chuanqi Xu b72a364bb5 [C++20] [Coroutines] Exit early if we found co_await appears in
unevaluated context

Closes https://github.com/llvm/llvm-project/issues/58133

The direct cause for this issue is that the compilation process
continues after it found it is in a invalid state. [expr.await]p2 says
clearly that the co_await expressions are not allowed to appear in
unevaluated context. So we can exit early in this case. It also reduces
many redundant diagnostic messages (Such as 'expression with side
effects has no effect in an unevaluated context').
2022-10-09 14:59:27 +08:00
..
array-bounds-system-header.h
compare.modulemap Remove non-affecting module maps from PCM files. 2021-11-18 11:18:26 +01:00
header-with-pragma-optimize-off.h
malloc.h
nullability-completeness.h
override-system-header.h
register.h
source-location-file.h
std-compare.h
std-coroutine-exp-namespace.h [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
std-coroutine.h [C++20] [Coroutines] Exit early if we found co_await appears in 2022-10-09 14:59:27 +08:00
warn-new-overaligned-3.h
warn-unused-variables.h
warn-zero-nullptr.h