Skip to content
  1. Sep 30, 2008
  2. Sep 29, 2008
  3. Sep 28, 2008
  4. Sep 11, 2008
  5. 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
  6. Aug 11, 2008
    • 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
  7. Aug 10, 2008
  8. Jul 27, 2008
  9. Jul 25, 2008
  10. Jul 24, 2008
  11. Jul 21, 2008
  12. Jun 28, 2008
  13. Jun 24, 2008
    • Ted Kremenek's avatar
      ObjCMessageExpr objects that represent messages to class methods now can... · a3a37ae8
      Ted Kremenek authored
      ObjCMessageExpr objects that represent messages to class methods now can contain the ObjCInterfaceDecl* of the target class if it was available when the ObjCMessageExpr object was constructed.  The original interfaces of the class has been preserved (requiring no functionality changes from clients), but now a "getClasSInfo" method returns both the ObjCInterfaceDecl* and IdentifierInfo* of the target class.
      
      llvm-svn: 52676
      a3a37ae8
  14. Jun 21, 2008
    • Chris Lattner's avatar
      "this patch adds code generation hooks for Objective-C constant strings. It... · 091f698d
      Chris Lattner authored
      "this patch adds code generation hooks for Objective-C constant strings.  It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found.  This is consistent with Apple GCC.  I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it.  Possibly there is a way of making the error go away, but I haven't found out what it is yet."
      
      Patch by David Chisnall!
      
      llvm-svn: 52599
      091f698d
    • Chris Lattner's avatar
      Switch 'super' from being a weird cast thing to being a predefined expr node. · a9b3cae8
      Chris Lattner authored
      Patch by David Chisnall with objc rewriter and stmtdumper updates from me.
      
      llvm-svn: 52580
      a9b3cae8
  15. Jun 05, 2008
  16. Jun 04, 2008
  17. Jun 01, 2008
  18. May 31, 2008
  19. May 29, 2008
  20. Apr 20, 2008
    • Chris Lattner's avatar
      Restructure and simplify Sema::ObjCQualifiedIdTypesAreCompatible, · 2cc4e232
      Chris Lattner authored
      deleting dead code, making other code more obvious, and fixing a
      bug.  This fixes these (bogus) warnings in release mode:
      
      SemaExprObjC.cpp:383: warning: 'RHSProtoE' may be used uninitialized in this function
      SemaExprObjC.cpp:383: warning: 'RHSProtoI' may be used uninitialized in this function
      
      llvm-svn: 49984
      2cc4e232
  21. Apr 07, 2008
  22. Apr 02, 2008
    • Chris Lattner's avatar
      properly handle array decay in objc message exprs. · b1f7398b
      Chris Lattner authored
      llvm-svn: 49098
      b1f7398b
    • Steve Naroff's avatar
      · 2fc93f5c
      Steve Naroff authored
      Two changes to Sema::LookupDecl() interface. 
      (1) Remove IdLoc (it's never used). 
      (2) Add a bool to enable/disable lazy builtin creaation (defaults to true).
      
      This enables us to use LookupDecl() in Sema::isTypeName(), which is also part of this commit.
      
      To make this work, I changed isTypeName() to be a non-const member function. I'm not happy with this, however I fiddled with making LookupDecl() and friends const and it got ugly pretty quickly. We can certainly add it back if/when someone has time to fiddle with it. For now, I thought this simplification was more important than retaining the const-ness. 
      
      llvm-svn: 49087
      2fc93f5c
    • Steve Naroff's avatar
      Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass... · 257520b1
      Steve Naroff authored
      Fairly large "cleaup" related to changing ObjCCompatibleAliasDecl superclass (to inherit from NamedDecl, instead of ScopedDecl). 
      
      - Added a DenseMap to associate an IdentifierInfo with the ObjCCompatibleAliasDecl.
      - Renamed LookupScopedDecl->LookupDecl and changed it's return type to Decl. Also added lookup for ObjCCompatibleAliasDecl's.
      - Removed Sema::LookupInterfaceDecl(). Converted clients to used LookupDecl().
      - Some minor indentation changes.
      
      Will deal with ObjCInterfaceDecl and getObjCInterfaceDecl() in a separate commit...
      
      llvm-svn: 49058
      257520b1
  23. Mar 28, 2008
Loading