]> granicus.if.org Git - clang/commit
Fix name lookup for friend class templates to consider anything in a
authorDouglas Gregor <dgregor@apple.com>
Sat, 26 Sep 2009 07:05:09 +0000 (07:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 26 Sep 2009 07:05:09 +0000 (07:05 +0000)
commit6102d98f3b806cc3f4a66cec27f5560b25ddd675
tree1968c4e0c3c2fea1cc6c5d7975a2296dd8d0067a
parentd85bea2affdd59d83d1be7d24b97f436484c3625
Fix name lookup for friend class templates to consider anything in a
scope *up to and including* the innermost namespace scope, rather than
just searching in the innermost namespace scope.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82849 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp [new file with mode: 0644]