Skip to content
  1. Dec 10, 2007
  2. Dec 09, 2007
  3. Dec 08, 2007
  4. Dec 07, 2007
    • Steve Naroff's avatar
      · 1f6ed92d
      Steve Naroff authored
      Omit the field name when including the super class structure template.
      
      This allows us to access a superclasses ivars without deriving the absolute path.
      
      The comments below say a bit more...
      
      llvm-svn: 44688
      1f6ed92d
    • Fariborz Jahanian's avatar
      ff6a455c
    • Steve Naroff's avatar
      · 2c20c38c
      Steve Naroff authored
      Have Sema::CheckConstantInitList skip semantic analysis when the element type is a record (until we implement the FIXME). This removes a bogus error for the following code...
      
      snarofflocal% cat bug.m
      
      #import <Foundation/NSGeometry.h>
      
      #define NUMHELICOPTERRECTS 5
      
      static NSRect helicopterRects[NUMHELICOPTERRECTS] = {
          {{27, 0}, {18, 11}},	// Bottom
          {{0, 8}, {4, 11}},		// Tail
          {{0, 16}, {50, 1}},
          {{22, 5}, {18, 12}},	// Body
          {{0, 10}, {42, 3}}
      };
      
      llvm-svn: 44684
      2c20c38c
    • Steve Naroff's avatar
      · 888f33cc
      Steve Naroff authored
      Lookup methods in the global pool even when a statically typed object's class interface isn't in scope!
      
      As the comment in the code indicates, I'm not fond of this. Nevertheless, gcc compat is a goal.
      
      Here is the case I'm talking about...
      
      #import <Foundation/Foundation.h>
      
      @interface AnyClass : NSObject
      - (NSRect)rect;
      @end
      
      @class Helicopter;
      
      static void func(Helicopter *obj) {
        NSRect r = [obj rect];
      }
      
      ...before this patch, we would warn/error. With this patch, everything "just works".
      
      llvm-svn: 44682
      888f33cc
    • Fariborz Jahanian's avatar
      Patch for rewriting of @protocol. · 33c0e815
      Fariborz Jahanian authored
      llvm-svn: 44681
      33c0e815
    • Steve Naroff's avatar
      · b2f8ff15
      Steve Naroff authored
      Rewrite 'super' within a class method. This required some minor tweaks to the front-end.
      
      llvm-svn: 44673
      b2f8ff15
    • Fariborz Jahanian's avatar
      Patch to implement "Protocol" as a built-in type declared as · 2bbd03a7
      Fariborz Jahanian authored
      "@class Protocol;"
      
      llvm-svn: 44670
      2bbd03a7
  5. Dec 06, 2007
  6. Dec 05, 2007
Loading