]> granicus.if.org Git - clang/commit
Handle dependent friends more explicitly and deal with the possibility
authorJohn McCall <rjmccall@apple.com>
Tue, 12 Oct 2010 23:13:28 +0000 (23:13 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 12 Oct 2010 23:13:28 +0000 (23:13 +0000)
commit337ec3d0e8cb24a591ecbecdc0a995a167f6af01
tree89d2d5bacb3c342ae3441f2ae811abec32ad88f0
parent98efb9f6df133f5508d260c4510c6c3bd70f34ad
Handle dependent friends more explicitly and deal with the possibility
of templated-scope friends by marking them invalid and white-listing all
accesses until such time as we implement them.  Fixes a crash, this time
without a broken test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116364 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaAccess.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.decls/temp.friend/p5.cpp