Skip to content
  1. Apr 13, 2009
  2. Apr 12, 2009
  3. Apr 11, 2009
    • Chris Lattner's avatar
      now that we have an identifier table in the PCH file, finish hooking up · c523d8e8
      Chris Lattner authored
      macro deserialization.  We now correctly install II's in tokens, handle
      function-like macros, etc.
      
      llvm-svn: 68882
      c523d8e8
    • Chris Lattner's avatar
      improve location info for property stuff. In a property like this: · 5300accc
      Chris Lattner authored
      @property int x;
      
      associate the location of X with the property decl, not the location
      of the @.  Also, pass this info along to the synthesized ParmVarDecls
      so that redefinition and other diagnostics can use it.  This eliminates
      a fixme.
      
      llvm-svn: 68880
      5300accc
    • Chris Lattner's avatar
      improve the 'conflicting types' diagnostics to include correct location info, now · 67f35b05
      Chris Lattner authored
      that it is plumbed through Sema.  On a file from growl, we used to emit:
      
      t.mi:107059:1: warning: conflicting types for 'removePluginHandler:forPluginTypes:'
      - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions {
      ^
      t.mi:105280:1: note: previous definition is here
      - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types;
      ^
      
      now we produce:
      
      t.mi:107059:55: warning: conflicting parameter types in implementation of 'removePluginHandler:forPluginTypes:': 'id<NSObject>' vs 'id<GrowlPluginHandler>'
      - (void) removePluginHandler:(id <GrowlPluginHandler>)handler forPluginTypes:(NSSet *)extensions {
                                                            ^
      t.mi:105280:45: note: previous definition is here
      - (void) removePluginHandler:(id <NSObject>)handler forPluginTypes:(NSSet *)types;
                                                  ^
      
      We still don't have proper loc info for properties, hence the FIXME.
      
      rdar://6782494
      
      llvm-svn: 68879
      67f35b05
    • Chris Lattner's avatar
      Set proper location info on objc method arguments. · 23b0faf0
      Chris Lattner authored
      llvm-svn: 68877
      23b0faf0
Loading