Skip to content
  1. Jul 08, 2009
  2. Jul 03, 2009
  3. Jul 01, 2009
  4. Jun 30, 2009
    • Argyrios Kyrtzidis's avatar
      De-ASTContext-ify DeclContext. · cfbfe78e
      Argyrios Kyrtzidis authored
      Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating".
      Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit.
      
      llvm-svn: 74506
      cfbfe78e
  5. Jun 23, 2009
  6. Jun 15, 2009
    • Chris Lattner's avatar
      "GCC emits an __objc_class_name_{classname} symbol for every class, and a... · c7d2bfac
      Chris Lattner authored
      "GCC emits an __objc_class_name_{classname} symbol for every class, and a corresponding reference to this symbol for every compilation unit that references the class.  This causes linker errors when you try linking a program which references some classes but doesn't define them.  The attached patch implements this support in clang, so you can compile a class with clang, reference it in a file compiled with GCC, and have it all work correctly."
      
      Patch by David Chisnall!
      
      llvm-svn: 73364
      c7d2bfac
  7. Jun 04, 2009
  8. May 22, 2009
  9. May 20, 2009
  10. May 19, 2009
  11. May 17, 2009
    • Fariborz Jahanian's avatar
      This patch fixes two bugs in the GNU Objective-C runtime implementation. One... · 078cd522
      Fariborz Jahanian authored
      This patch fixes two bugs in the GNU Objective-C runtime implementation.  One is a case in rethrowing exceptions where the C types don't match correctly (I already sent this patch to Daniel Dunbar, who found the bug, so it may have already been committed).  The other fixes the case properties so that the methods generated as property accessors are added to the class structure correctly.
      Patch by David Chisnall.
      
      llvm-svn: 71980
      078cd522
  12. May 11, 2009
  13. May 08, 2009
    • Chris Lattner's avatar
      96afab52
    • Chris Lattner's avatar
      "This patch fixes message sends to super in categories for the GNU runtime. ... · a02cb80f
      Chris Lattner authored
      "This patch fixes message sends to super in categories for the GNU runtime.  This used to work, but I broke it when I modified the code to emit the same thing as GCC for message sends to super in classes."
      
      Patch by David Chisnall!
      
      llvm-svn: 71220
      a02cb80f
    • Chris Lattner's avatar
      initial support for ObjC exceptions with the GNU runtime: · b6e9eb69
      Chris Lattner authored
      "This patch is a first pass at adding support for exceptions for the GNU runtime.  There are a few limitations at present:
      
      - @synchronized() is not yet supported at all.  gcc currently emits calls to runtime library functions that don't exist for this directive.
      
      - Only id @catch statements are currently working.  This is enough for NS_DURING and friends, but I need to spend more time reading the output from gcc -S to work out how it finds the class pointer to make arbitrary class type catch statements work.
      
      - I've tested it with a few common cases[1] and the clang test suite (which doesn't test exceptions for the GNU runtime, but shows I haven't broken anything else), but there are probably a lot of cases I've missed."
      
      Patch by David Chisnall!
      
      llvm-svn: 71198
      b6e9eb69
  14. May 05, 2009
  15. May 04, 2009
    • Chris Lattner's avatar
      "The attached diff fixes the //FIXME in message send to super. This should... · bef2ee43
      Chris Lattner authored
      "The attached diff fixes the //FIXME in message send to super.  This should now be faster, and works in the presence of class posing.  This is now the same approach as used in GCC (the earlier code was a quick hack to get something working)."
      
      Patch by David Chisnall!
      
      llvm-svn: 70877
      bef2ee43
    • Daniel Dunbar's avatar
      Patch from David Chisnall: · 566421c8
      Daniel Dunbar authored
      The attached diff fixes the //FIXME in message send to super.  This
      should now be faster, and works in the presence of class posing.  This
      is now the same approach as used in GCC (the earlier code was a quick
      hack to get something working).
      
      llvm-svn: 70868
      566421c8
  16. May 03, 2009
  17. Apr 26, 2009
  18. Apr 23, 2009
    • Douglas Gregor's avatar
      Eliminate the three SmallVectors in ObjCImplDecl (for instance · 29bd76fd
      Douglas Gregor authored
      methods, class methods, and property implementations) and instead
      place all of these entities into the DeclContext.
      
      This eliminates more linear walks when looking for class or instance
      methods and should make PCH (de-)serialization of ObjCDecls trivial
      (and lazy).
      
      llvm-svn: 69849
      29bd76fd
  19. Apr 22, 2009
  20. Apr 21, 2009
  21. Apr 20, 2009
  22. Apr 19, 2009
  23. Apr 09, 2009
  24. Apr 01, 2009
  25. Mar 31, 2009
Loading