]> granicus.if.org Git - clang/commit
Don't try to find a scope corresponding to the search DC for an unfound
authorJohn McCall <rjmccall@apple.com>
Tue, 13 Apr 2010 01:44:10 +0000 (01:44 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 13 Apr 2010 01:44:10 +0000 (01:44 +0000)
commit9ea6397bf4ff53768ef4bdc0945965103a22e98c
tree2a4e9e1ee39139d5da050c7fbf64ca238b114b42
parent984152f34b50aa9e00fa809d6e7662442bb8206d
Don't try to find a scope corresponding to the search DC for an unfound
friend declaration;  this used to be important but is now just a waste of time
plus an unreasonable assertion.  Fixes PR6174.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101112 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/class.access/class.friend/p1.cpp