llvm-project/clang/test/CXX/dcl.decl/dcl.meaning
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
..
dcl.array [modules] Prefer more complete array types. 2016-02-28 19:08:24 +00:00
dcl.fct Don't crash on an invalid trailing return type on a function before a '...' 2014-12-30 02:06:40 +00:00
dcl.fct.default [Sema] Diagnose default argument on a parameter pack. 2015-03-27 13:58:31 +00:00
dcl.mptr
dcl.ref PR13110: Add a -Wignored-qualifiers warning when ignoring a const, volatile, or 2014-02-19 00:13:27 +00:00
p1-0x.cpp Don't emit an ExtWarn on declarations of variable template specializations; 2014-04-17 02:56:49 +00:00
p1.cpp Parse: Recover more gracefully from extra :: tokens before a { 2014-12-29 23:12:23 +00:00