]> granicus.if.org Git - clang/commit
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to...
authorSteve Naroff <snaroff@apple.com>
Tue, 1 Apr 2008 23:04:06 +0000 (23:04 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 1 Apr 2008 23:04:06 +0000 (23:04 +0000)
commite8043c39176e7f253fbd92982b077eca6bf2fd59
treecbe701153dbc386ac1156afefcf9a1f6ba2c992d
parenta6fb4e07ed2e9145596490240faa1eebff5a53c0
Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl).

- Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl.
- Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's.
- Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl().
- Some minor indentation changes.

Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit...

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49058 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclObjC.h
include/clang/Basic/DiagnosticKinds.def
lib/AST/Decl.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
test/Sema/alias-test-1.m