Skip to content
  1. Mar 31, 2008
    • Chris Lattner's avatar
      rename Decl::CompatibleAlias -> ObjCCompatibleAlias. · 59a2594f
      Chris Lattner authored
      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.
      
      llvm-svn: 48972
      59a2594f
    • Chris Lattner's avatar
      some cleanups on top of David's patch. There are still two · c00c35a8
      Chris Lattner authored
      remaining open issues I've communicated to him:
      
      1) self can be assigned to, and his patch didn't handle it correctly.
      2) CollectObjCIvarTypes is N^2 (because each subclass reprocesses
         all parent class ivars) and flattens classes.  If A derives from B, 
         and both have an int, I'd expect to get { {i32}, i32}, not { i32, i32}.
      
      David, please review.
      
      llvm-svn: 48970
      c00c35a8
    • Chris Lattner's avatar
      Add initial support for objc codegen for methods, ivars, and the · 4bd5596d
      Chris Lattner authored
      etoile runtime, patch by David Chisnall!
      
      llvm-svn: 48969
      4bd5596d
  2. Mar 28, 2008
  3. Mar 27, 2008
  4. Mar 26, 2008
  5. Mar 25, 2008
Loading