Skip to content
  1. Jan 29, 2009
  2. Jan 28, 2009
  3. Jan 27, 2009
  4. Jan 26, 2009
    • Douglas Gregor's avatar
      Some micro-optimizations for DISABLE_SMART_POINTERS: · f829825d
      Douglas Gregor authored
        - When it's safe, ActionResult uses the low bit of the pointer for
        the "invalid" flag rather than a separate "bool" value. This keeps
        GCC from generating some truly awful code, for a > 3x speedup in the
        result-passing microbenchmark.
        - When DISABLE_SMART_POINTERS is defined, store an ActionResult
        within ASTOwningResult rather than an ASTOwningPtr. Brings the
        performance benefits of the above to smart pointers with
        DISABLE_SMART_POINTERS defined.
      
      Sadly, these micro-benchmark performance improvements don't seem to
      make much of a difference on Cocoa.h right now. However, they're
      harmless and might help with future optimizations.
      
      llvm-svn: 63061
      f829825d
  5. Jan 16, 2009
  6. Jan 13, 2009
  7. Jan 09, 2009
    • Douglas Gregor's avatar
      Provide a new kind of iterator, the specific_decl_iterator, that · ffca3a21
      Douglas Gregor authored
      filters the decls seen by decl_iterator with two criteria: the dynamic
      type of the declaration and a run-time predicate described by a member
      function. This simplifies EnumDecl, RecordDecl, and ObjCContainerDecl
      considerably. It has no measurable performance impact.
      
      llvm-svn: 61994
      ffca3a21
  8. Jan 07, 2009
  9. Dec 16, 2008
  10. Nov 24, 2008
  11. Nov 23, 2008
    • Chris Lattner's avatar
      Convert IdentifierInfo's to be printed the same as DeclarationNames · e3d20d95
      Chris Lattner authored
      with implicit quotes around them.  This has a bunch of follow-on 
      effects and requires tweaking to a whole lot of code.  This causes
      a regression in two tests (xfailed) by causing it to emit things like:
      
        Line 10: duplicate interface declaration for category 'MyClass1' ('Category1')
      
      instead of:
      
        Line 10: duplicate interface declaration for category 'MyClass1(Category1)'
      
      I will fix this in a follow-up commit.
      
      As part of this, I had to start switching stuff to use ->getDeclName() instead
      of Decl::getName() for consistency.  This is good, but I was planning to do this
      as an independent patch.  There will be several follow-on patches
      to clean up some of the mess, but this patch is already too big.
      
      llvm-svn: 59917
      e3d20d95
  12. Nov 21, 2008
  13. Nov 20, 2008
  14. Nov 19, 2008
  15. Nov 17, 2008
  16. Nov 04, 2008
  17. Sep 30, 2008
  18. Sep 29, 2008
  19. Sep 28, 2008
  20. Sep 11, 2008
  21. 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
  22. 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
  23. Aug 10, 2008
  24. Jul 27, 2008
  25. Jul 25, 2008
  26. Jul 24, 2008
  27. Jul 21, 2008
Loading