llvm-project/clang/test/CXX
Vassil Vassilev 4d75e8d676 [modules] Prefer more complete array types.
If we import a module that has a complete array type and one that has an
incomplete array type, the declaration found by name lookup might be the one with
the incomplete type, possibly resulting in rejects-valid.

Now, the name lookup prefers decls with a complete array types. Also,
diagnose cases when the redecl chain has array bound, different from the merge
candidate.

Reviewed by Richard Smith.

llvm-svn: 262189
2016-02-28 19:08:24 +00:00
..
basic [Lit Test] Updated 34 Lit tests to be C++11 compatible. 2015-11-17 20:25:05 +00:00
class PR26048, PR26050: put non-type template parameters and indirect field decls 2016-01-06 22:49:11 +00:00
class.access [Lit Test] Updated 26 Lit tests to be C++11 compatible. 2015-11-11 19:34:47 +00:00
class.derived PR6037 2015-01-19 01:44:02 +00:00
concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept [Concepts] Implement a portion of Concepts TS[dcl.spec.concept]p1 by 2016-02-08 05:34:00 +00:00
conv PR6037 2015-01-19 01:44:02 +00:00
dcl.dcl PR23057: Fix assertion `Val && "isa<> used on a null pointer"' on invalid for-range expression. 2016-02-02 17:33:09 +00:00
dcl.decl [modules] Prefer more complete array types. 2016-02-28 19:08:24 +00:00
drs Implement the likely resolution of core issue 253. 2016-02-19 01:52:46 +00:00
except Promote a warning on ill-formed code (redeclaration missing an exception 2015-09-30 00:48:50 +00:00
expr Improve -Wconstant-conversion 2016-01-29 23:51:16 +00:00
lex Convert test/CXX/lex/lex.literal/lex.string/p4.cpp back to DOS line 2016-01-04 10:17:48 +00:00
over Improve diagnostics for ill-formed literal operator declarations. 2016-02-17 00:04:04 +00:00
special Unify warnings/errors from "maybe you meant" to "did you mean". 2015-04-02 22:10:06 +00:00
stmt.stmt Sema: Allow 'constexpr' variables in range loops 2015-02-18 18:34:59 +00:00
temp Ensure that we substitute into the declaration of a template parameter pack 2016-02-03 20:40:30 +00:00