hanchenye-llvm-project/clang/test/CXX/dcl.decl
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
..
dcl.fct.def The 'constexpr implies const' rule for non-static member functions is gone in 2013-04-21 01:08:50 +00:00
dcl.init PR12086, PR15117 2013-06-12 22:31:48 +00:00
dcl.meaning Fix implementation of C11 6.2.7/4 and C++11 [dcl.array]p3: 2013-08-13 18:18:50 +00:00
dcl.name
p4-0x.cpp