Skip to content
  1. 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
  2. Aug 25, 2008
  3. Aug 24, 2008
  4. Aug 23, 2008
  5. Aug 22, 2008
  6. Aug 21, 2008
  7. Aug 20, 2008
  8. Aug 19, 2008
  9. Aug 18, 2008
  10. Aug 17, 2008
  11. Aug 16, 2008
  12. Aug 15, 2008
    • Daniel Dunbar's avatar
      Change Parser & Sema to use interned "super" for comparions. · 12c9ddce
      Daniel Dunbar authored
       - Added as private members for each because it is not clear where to
         put the common definition. Perhaps the IdentifierInfos all of these
         "pseudo-keywords" should be collected into one place (this would
         KnownFunctionIDs and Objective-C property IDs, for example).
      
      Remove Token::isNamedIdentifier.
       - There isn't a good reason to use strcmp when we have interned
         strings, and there isn't a good reason to encourage clients to do
         so.
      
      llvm-svn: 54794
      12c9ddce
  13. Aug 14, 2008
  14. Aug 13, 2008
  15. Aug 11, 2008
    • Daniel Dunbar's avatar
      More #include cleaning · 56fdb6ae
      Daniel Dunbar authored
       - Kill unnecessary #includes in .cpp files. This is an automatic
         sweep so some things removed are actually used, but happen to be
         included by a previous header. I tried to get rid of the obvious
         examples and this was the easiest way to trim the #includes in one
         fell swoop.
       - We now return to regularly scheduled development.
      
      llvm-svn: 54632
      56fdb6ae
    • Daniel Dunbar's avatar
      More #include cleaning · 6e8aa537
      Daniel Dunbar authored
       - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
       - Moved Sema::getCurMethodDecl() out of line (dependent on
         ObjCMethodDecl via dyn_cast).
      
      llvm-svn: 54629
      6e8aa537
    • Daniel Dunbar's avatar
      More #include cleaning · 221fa94e
      Daniel Dunbar authored
       - Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and
         SourceLocation.h)
       - Move ASTContext constructor into implementation
      
      llvm-svn: 54627
      221fa94e
    • Daniel Dunbar's avatar
      More #include cleaning · c74b5cc2
      Daniel Dunbar authored
       - Drop Diagnostic.h from DeclSpec.h, move utility Diag methods into
         implementation .cpp
      
      llvm-svn: 54626
      c74b5cc2
    • Daniel Dunbar's avatar
      Minor #include cleaning · 34fb6727
      Daniel Dunbar authored
       - Drop TokenKinds.h from Action.h
       - Move DeclSpec.h from Sema.h into individual Sema .cpp files
      
      llvm-svn: 54625
      34fb6727
  16. Aug 10, 2008
Loading