llvm-project/clang/test/CXX/basic
Richard Smith 1c34fb78e7 Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3:
When a local extern declaration redeclares some other entity, the type of that
entity is merged with the prior type if the prior declaration is visible (in C)
or is declared in the same scope (in C++).

 - Make LookupRedeclarationWithLinkage actually work in C++, use it in the right
   set of cases, and make it track whether it found a shadowed declaration.
 - Track whether we found a declaration in the same scope (for C++) including
   across serialization and template instantiation.

llvm-svn: 188307
2013-08-13 18:18:50 +00:00
..
basic.def.odr
basic.link Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3: 2013-08-13 18:18:50 +00:00
basic.lookup Skip transparent contexts when looking for using directives in name lookup. 2013-04-09 01:49:26 +00:00
basic.scope Fix more try scoping bugs introduced by r167650. 2012-11-12 22:25:41 +00:00
basic.start/basic.start.main Sema: Do not merge new decls with invalid, old decls 2013-07-07 23:49:50 +00:00
basic.stc/basic.stc.dynamic Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
basic.types C++1y constexpr extensions, round 1: Allow most forms of declaration and 2013-04-22 15:31:51 +00:00