Skip to content
  1. Oct 31, 2007
    • Fariborz Jahanian's avatar
      Changed direction of assert. Added more comments. · aa9a95ca
      Fariborz Jahanian authored
      llvm-svn: 43585
      aa9a95ca
    • Steve Naroff's avatar
      · 9c4fdddd
      Steve Naroff authored
      Fix two rewriter bugs:
      
      - For @class, don't generate multiple typedefs.
      - Handle the following edge case interface...
      
      @interface NSMiddleSpecifier : NSObject {}
      
      @end
      
      ...which was incorrectly being rewritten to...
      
      struct _interface_NSMiddleSpecifier {
              struct _interface_NSObject _NSObject;
      };
      {}
      
      llvm-svn: 43582
      9c4fdddd
    • Fariborz Jahanian's avatar
      aff228df
    • Steve Naroff's avatar
      · ac021638
      Steve Naroff authored
      Checking in some code that is still under construction.
      
      I need to (finally) change the way Class/id/SEL/IMP are built-in...the current approach of doing it in the preprocessor is "broken". The other problem is Sema::GetObjcIdType/GetObjcSelType/GetObjcClassType, the hooks that initialize ASTContext lazily. These built-in types need to be done up front...
      
      llvm-svn: 43557
      ac021638
    • Steve Naroff's avatar
      · 37e011ce
      Steve Naroff authored
      Add some plumbing to help cope with rewriting "id<p>", "Class<p>*".
      
      llvm-svn: 43543
      37e011ce
    • Steve Naroff's avatar
      · 5cdcd9b6
      Steve Naroff authored
      Stop pre-defining objc_msgSend/objc_getClass in the preprocessor. Instead, I generate these declaration on the fly when rewriting a message expression.
      
      llvm-svn: 43529
      5cdcd9b6
  2. Oct 30, 2007
    • Steve Naroff's avatar
      · f921385f
      Steve Naroff authored
      Rewrite protocols.
      
      llvm-svn: 43503
      f921385f
    • Steve Naroff's avatar
      · 5448cf6d
      Steve Naroff authored
      - Add location info to category/protocol AST's
      - Rewrite categories.
      
      llvm-svn: 43501
      5448cf6d
    • Steve Naroff's avatar
      · 4cd61acc
      Steve Naroff authored
      Remove a couple FIXME's for rewriting ObjC interfaces (which are now being rewritten properly).
      
      llvm-svn: 43494
      4cd61acc
    • Steve Naroff's avatar
      · c5484043
      Steve Naroff authored
      More support for rewriting ObjC intefaces. Still some edge cases to handle...
      
      llvm-svn: 43493
      c5484043
  3. Oct 29, 2007
  4. Oct 27, 2007
  5. Oct 26, 2007
  6. Oct 25, 2007
  7. Oct 24, 2007
  8. Oct 23, 2007
  9. Oct 22, 2007
  10. Oct 19, 2007
  11. Oct 18, 2007
  12. Oct 17, 2007
  13. Oct 16, 2007
  14. Oct 13, 2007
    • Chris Lattner's avatar
      haha, my devious plot is complete: · 6a91cc03
      Chris Lattner authored
      $ clang rewrite.c -rewrite-test
      prints:
      
      int foo() {
              b:      foo();
      f:      foo();
          foo();
      }
      
      for:
      
      int foo() {
      	b:	foo();
      f:	foo();
          foo();
      }
      
      amazing.
      
      llvm-svn: 42944
      6a91cc03
Loading