]> granicus.if.org Git - clang/commit
Remove more redundant lookups. Add a new "all_lookups_iterator" which provides
authorNick Lewycky <nicholas@mxc.ca>
Tue, 3 Apr 2012 21:44:08 +0000 (21:44 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 3 Apr 2012 21:44:08 +0000 (21:44 +0000)
commit173a37a57b79bd8f94b85c2273039e760b159922
tree64f7f33e98cb6d25de549f630c83a99212852ef9
parent893a6eaf52930701950b7fc01a2478bb86899b77
Remove more redundant lookups. Add a new "all_lookups_iterator" which provides
a view over the contents of a DeclContext without exposing the implementation
details of the StoredDeclsMap. Use this in LookupVisibleDecls to find the
visible declarations. Fixes PR12339!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153970 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
include/clang/AST/DeclLookups.h [new file with mode: 0644]
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaLookup.cpp
test/SemaCXX/function-redecl.cpp
test/SemaCXX/qualified-id-lookup.cpp
test/SemaCXX/typo-correction.cpp