]> granicus.if.org Git - clang/commit
Implement [class.friend]p11's special name lookup rules for friend declarations
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Aug 2013 04:35:01 +0000 (04:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Aug 2013 04:35:01 +0000 (04:35 +0000)
commit4e9686b1f9947f1747b4f4316deb2087a7f56282
tree5d4e55e6fb8f6eb45285afb5a101a8b0db4aecfb
parentfa220f58f02014e4a3389f429b82948a09dc4986
Implement [class.friend]p11's special name lookup rules for friend declarations
of local classes. We were previously handling this by performing qualified
lookup within a function declaration(!!); replace it with the proper scope
lookup.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188050 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/AST/DeclBase.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/class.access/class.friend/p11.cpp
test/CXX/special/class.copy/implicit-move.cpp
test/FixIt/typo-crash.cpp