Skip to content
  1. Sep 03, 2008
  2. Sep 02, 2008
  3. Sep 01, 2008
  4. Aug 30, 2008
    • Daniel Dunbar's avatar
      Add Objective-C property setter support. · 4b8c6db9
      Daniel Dunbar authored
       - Change Obj-C runtime message API, drop the ObjCMessageExpr arg in
         favor of just result type and selector. Necessary so it can be
         reused in situations where we don't want to cons up an
         ObjCMessageExpr.
       - Update aggregate binary assignment to know about special property
         ref lvalues.
       - Add CodeGenFunction::EmitCallArg overload which takes an already
         emitted rvalue.
      
      Add CodeGenFunction::StoreComplexIntoAddr.
      
      Disabled logic in Sema for parsing Objective-C dot-syntax that
      accesses methods. This code does not search in the correct order and
      the AST node has no way of properly representing its results.
      
      Updated StmtDumper to print a bit more information about
      ObjCPropertyRefExprs.
      
      llvm-svn: 55561
      4b8c6db9
  5. Aug 29, 2008
  6. Aug 27, 2008
    • Steve Naroff's avatar
      First wave of changes to support "blocks" (an extension to C). · ec33ed9c
      Steve Naroff authored
      This commit adds the declaration syntax (and associated type).
      
      llvm-svn: 55417
      ec33ed9c
    • Daniel Dunbar's avatar
      Add synthesized property methods to protocols and categories in Sema. · 4684f373
      Daniel Dunbar authored
       - It is not clear that this is the right approach, but this is at
         least consistent with how interfaces are handled.
      
       - This means NeXT now emits the correct metadata for properties in
         protocols.
      
       - This currently introduces a spurious warning involving inherited
         properties in protocols or categories; however, it also fixes some
         situations where we were failing to emit a warning. I will scrub
         this code tomorrow and fix this issue as well as number of other
         missed warnings / error situations that appear to exist.
      
      llvm-svn: 55407
      4684f373
  7. Aug 26, 2008
    • Daniel Dunbar's avatar
      Move implicit Obj-C param creation into ObjCMethodDecl. · 279d1ccc
      Daniel Dunbar authored
       - Add ObjCMethodDecl::createImplicitParams.
       - Remove ObjCMethodDecl::set{Self,Cmd}Decl
       - Remove Sema::CreateImplicitParameter
      
      No (intended) functionality change.
      
      llvm-svn: 55356
      279d1ccc
    • Daniel Dunbar's avatar
      Rename ObjCPropertyImplDecl::PropertyImplKind (consistency) · 3b4fdb09
      Daniel Dunbar authored
       - Change enum name to Kind.
       - Change enum constants to English strings.
      
      Also, fix getPropertyImplementation (which probably should be renamed)
      
      llvm-svn: 55354
      3b4fdb09
    • Daniel Dunbar's avatar
      In incompatible pointer-typed ?: expressions, add implicit conversion · 40bf7fe2
      Daniel Dunbar authored
      of RHSs to id type instead of void* if either has Objective-C object
      type.
       - This ensures the result can still be used in normal places an
         object can be used, like a message send.
      
      Add implicit conversions for ?: applied to qualified id types to
      ensure that the RHSs are compatible. 
       - This prevents a codegen crash (creating invalid PHI nodes).
       - Again, this relates to the fact that qualified id types have no
         canonical types.
       - Note that the implicit type casted to is incorrect, however this
         doesn't currently cause problems because of the flexibility of the
         id type.
      
      Test cases for above.
      
      llvm-svn: 55346
      40bf7fe2
  8. Aug 25, 2008
  9. Aug 24, 2008
  10. Aug 23, 2008
  11. Aug 22, 2008
  12. Aug 21, 2008
  13. Aug 20, 2008
  14. Aug 19, 2008
Loading