Skip to content
  1. Apr 12, 2009
  2. Apr 09, 2009
  3. Apr 07, 2009
  4. Mar 29, 2009
  5. Mar 10, 2009
  6. Mar 09, 2009
  7. Mar 08, 2009
  8. Mar 05, 2009
  9. Mar 04, 2009
  10. Mar 03, 2009
  11. Mar 01, 2009
  12. Feb 26, 2009
  13. Feb 24, 2009
  14. Feb 23, 2009
  15. Feb 22, 2009
    • Steve Naroff's avatar
      Minor cleanup, replace bool with qual_empty(). · d2c44d22
      Steve Naroff authored
      llvm-svn: 65293
      d2c44d22
    • Steve Naroff's avatar
      Contains the following (related to problems found while investigting... · c4173fa7
      Steve Naroff authored
      Contains the following (related to problems found while investigting <rdar://problem/6497631> Message lookup is sometimes different than gcc's).
      
      - Implement instance/class overloading in ObjCContainerDecl (removing a FIXME). This involved hacking NamedDecl::declarationReplaces(), which took awhile to figure out (didn't realize replace was the default).
      - Changed Sema::ActOnInstanceMessage() to remove redundant warnings when dealing with protocols. For now, I've omitted the "protocol" term in the diagnostic. It simplifies the code flow and wan't always 100% accurate (e.g. "Foo<Prot>" looks in the class interface, not just the protocol).
      - Changed several test cases to jive with the above changes.
      
      llvm-svn: 65292
      c4173fa7
    • Steve Naroff's avatar
      Remove debugging statement. · 10cbe66f
      Steve Naroff authored
      llvm-svn: 65257
      10cbe66f
  16. Feb 21, 2009
  17. Feb 20, 2009
  18. Feb 18, 2009
  19. Feb 15, 2009
  20. Feb 14, 2009
  21. Feb 12, 2009
    • Steve Naroff's avatar
      Several cleanups: · b7605153
      Steve Naroff authored
      - rename isObjCIdType/isObjCClassType -> isObjCIdStructType/isObjCClassStructType. The previous name didn't do what you would expect.
      - add back isObjCIdType/isObjCClassType to do what you would expect. Not currently used, however many of the isObjCIdStructType/isObjCClassStructType clients could be converted over time.
      - move static Sema function areComparableObjCInterfaces to ASTContext (renamed to areComparableObjCPointerTypes, since it now operates on pointer types).
      
      llvm-svn: 64385
      b7605153
  22. Feb 07, 2009
    • Ted Kremenek's avatar
      Overhaul of Stmt allocation: · 5a201951
      Ted Kremenek authored
      - Made allocation of Stmt objects using vanilla new/delete a *compiler
        error* by making this new/delete "protected" within class Stmt.
      - Now the only way to allocate Stmt objects is by using the new
        operator that takes ASTContext& as an argument.  This ensures that
        all Stmt nodes are allocated from the same (pool) allocator.
      - Naturally, these two changes required that *all* creation sites for
        AST nodes use new (ASTContext&).  This is a large patch, but the
        majority of the changes are just this mechanical adjustment.
      - The above changes also mean that AST nodes can no longer be
        deallocated using 'delete'.  Instead, one most do
        StmtObject->Destroy(ASTContext&) or do
        ASTContextObject.Deallocate(StmtObject) (the latter not running the
        'Destroy' method).
      
      Along the way I also...
      - Made CompoundStmt allocate its array of Stmt* using the allocator in
        ASTContext (previously it used std::vector).  There are a whole
        bunch of other Stmt classes that need to be similarly changed to
        ensure that all memory allocated for ASTs comes from the allocator
        in ASTContext.
      - Added a new smart pointer ExprOwningPtr to Sema.h.  This replaces
        the uses of llvm::OwningPtr within Sema, as llvm::OwningPtr used
        'delete' to free memory instead of a Stmt's 'Destroy' method.
      
      Big thanks to Doug Gregor for helping with the acrobatics of making
      'new/delete' private and the new smart pointer ExprOwningPtr!
      
      llvm-svn: 63997
      5a201951
Loading