]> granicus.if.org Git - clang/commit
Some name-lookup-related fixes, from Piotr Rak!
authorDouglas Gregor <dgregor@apple.com>
Wed, 4 Feb 2009 17:27:36 +0000 (17:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 4 Feb 2009 17:27:36 +0000 (17:27 +0000)
commit47b9a1ca55e61e37f5a368740e29de190345acc6
tree7172b89a70c60426e62d060e69c906c309b36824
parent818cb9eaba6279675af8c3b87c464d21d3796682
Some name-lookup-related fixes, from Piotr Rak!

- Changes Lookup*Name functions to return NamedDecls, instead of
Decls. Unfortunately my recent statement that it will simplify lot of
code, was not quite right, but it simplifies some...
- Makes MergeLookupResult SmallPtrSet instead of vector, following
Douglas suggestions.
- Adds %qN format for printing qualified names to Diagnostic.
- Avoids searching for using-directives in Scopes, which are not
DeclScope, during unqualified name lookup.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63739 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
docs/InternalsManual.html
include/clang/AST/Decl.h
include/clang/Basic/Diagnostic.h
include/clang/Basic/DiagnosticSemaKinds.def
lib/AST/Decl.cpp
lib/Basic/Diagnostic.cpp
lib/Sema/Sema.cpp
lib/Sema/Sema.h
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp