llvm-project/clang/test/CXX/stmt.stmt
Corentin Jabot 2334314550 Do not check if we are in a discared context in non-immediate contexts
This fixes in a regression introduced by 6eeda06c1.

When deducing the return type of nested function calls, only the
return type of the outermost expression should be ignored.

Instead of assuming all contextes nested in a discared statements
are themselves discarded, only assume that in immediate contexts.

Similarly, only consider contextes immediately in an immediate or
discarded statement as being themselves immediate.
2021-12-07 12:13:35 -05:00
..
stmt.ambig
stmt.dcl
stmt.iter/stmt.ranged [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
stmt.label
stmt.select Do not check if we are in a discared context in non-immediate contexts 2021-12-07 12:13:35 -05:00