]> granicus.if.org Git - clang/commit
When a friend is declared in a dependent context, don't even try to
authorDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 22:42:42 +0000 (22:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 22:42:42 +0000 (22:42 +0000)
commit259571e27e513cfaf691cc7447e09b31a47d5438
tree05709f41ebcbf2eb326c037eed9ffbf0305e9b6f
parentc78c06d81f9838aea4198e4965cc1b26bb0bf838
When a friend is declared in a dependent context, don't even try to
match it up with a declaration in the outer scope.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/friend-template.cpp