llvm-project/clang/test/CXX/expr
Akira Hatanaka 50a81ea2bc Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to
the expression that is passed to it if it has a function type or array
type

lvalue-to-rvalue conversion should only be applied to non-function,
non-array types, but clang was applying the conversion to discarded
value expressions of array types.

rdar://problem/61203170

Differential Revision: https://reviews.llvm.org/D78134
2020-05-13 20:12:10 -07:00
..
expr.arith.conv [c++20] Add deprecation warnings for the expression forms deprecated by P1120R0. 2019-12-16 17:49:45 -08:00
expr.ass
expr.cast
expr.cond
expr.const P0593R6: Pseudo-destructor expressions end object lifetimes. 2020-02-18 18:41:03 -08:00
expr.mptr.oper
expr.post [Sema] Improved diagnostic for qualifiers in reference binding 2019-06-21 10:50:02 +00:00
expr.prim Fix parsing of enum-base to follow C++11 rules. 2020-05-08 19:32:00 -07:00
expr.unary [Sema] Mark array element destructors referenced during initialization 2019-05-10 17:52:26 +00:00
p3.cpp
p8.cpp
p9.cpp
p10-0x.cpp Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to 2020-05-13 20:12:10 -07:00
p13.cpp [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00