Skip to content
  1. Feb 28, 2007
    • Steve Naroff's avatar
      Make Sema's use of the preprocessor explicit (rather than assume · 38d31b47
      Steve Naroff authored
      the prerocessor will be available via ASTContext).
      - Removed the public data member "PP" in ASTContext.
      - Changed ASTContext's contructor to take TargetInfo/IdentifierTable explicitly.
      - Implicitly create an ASTContext in Sema's constructor. This simplifies
      the clients job (and makes ASTContext more private).
      --As a side effect, added a "PrintStats" hook to Sema.
      
      To support this level of encapsulation, ASTContext is always dynamically
      allocated (by Sema). Previously, ASTContext was being allocated on the
      stack. I don't believe this should be a performance issue (since ASTContext
      is fairly course grain and tied to the lifetime of Sema currently).
      
      llvm-svn: 39345
      38d31b47
  2. Nov 20, 2006
  3. Nov 10, 2006
  4. Nov 09, 2006
  5. Nov 05, 2006
  6. Nov 04, 2006
  7. Nov 03, 2006
  8. Oct 28, 2006
  9. Oct 25, 2006
  10. Oct 17, 2006
  11. Oct 16, 2006
  12. Oct 06, 2006
  13. Aug 24, 2006
  14. Aug 23, 2006
Loading