diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-31 00:36:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-31 00:36:02 +0000 |
commit | 8a934233d1582b5bde9d270bc0705aa81e471a79 (patch) | |
tree | 0d370fb1be80a370daa249de92b96886f662246a /lib/Basic/SourceManager.cpp | |
parent | ce5605ecf76d8cde6372138f830bb144d174ced9 (diff) |
rename Decl::CompatibleAlias -> ObjCCompatibleAlias.
Fix objc ivar lookup. Ivar lookup should occur between lookup
of method-local values and lookup of globals. Emulate this with
some logic in the handling of Sema::ActOnIdentifierExpr.
Two todo's left:
1) sema shouldn't turn a bare reference to an ivar into "self->ivar"
in the AST. This is a hack.
2) The new ScopedDecl::isDefinedOutsideFunctionOrMethod method does
not correctly handle typedefs and enum constants yet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions