llvm-project/clang/test/CXX
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
..
basic Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
class PR12350: Handle remaining cases permitted by CWG DR 244. 2020-02-07 18:40:41 -08:00
class.access [AST] Dont invalide VarDecl even the default initializaiton is failed. 2020-04-14 12:58:48 +02:00
class.derived Defer checking for mismatches between the deletedness of and overriding 2020-03-12 13:07:22 -07:00
conv [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
cpp PR41192: fix cases where "missing ';' after class" error would 2019-04-16 00:47:45 +00:00
dcl [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a 2020-01-24 00:48:59 +02:00
dcl.dcl Disallow [[nodiscard]] on a function pointer declaration. 2020-04-16 09:28:49 -04:00
dcl.decl [Driver] Flip the CC1 default of -fdiagnostics-show-option 2020-03-31 21:59:27 -07:00
drs Fix parsing of enum-base to follow C++11 rules. 2020-05-08 19:32:00 -07:00
except [Sema][C++] Propagate conversion kind to specialize the diagnostics 2020-02-25 16:05:37 +00:00
expr Don't apply lvalue-to-rvalue conversion in DefaultLValueConversion to 2020-05-13 20:12:10 -07:00
lex [C++20] Implement context-sensitive header-name lexing and pp-import parsing in the preprocessor. 2019-04-11 21:18:23 +00:00
module Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
modules-ts Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
over [c++20] Further extend the set of comparisons broken by C++20 that we 2020-03-20 14:22:48 -07:00
special [AST] dont invaliate VarDecl when the initializer contains errors. 2020-04-21 10:53:35 +02:00
stmt.stmt [AST] dont invaliate VarDecl when the initializer contains errors. 2020-04-21 10:53:35 +02:00
temp Improve recovery from invalid template-ids. 2020-03-27 17:11:04 -07:00