Skip to content
  1. Oct 24, 2008
  2. Oct 22, 2008
  3. Oct 05, 2008
  4. Sep 13, 2008
    • Ted Kremenek's avatar
      Patch by Csaba Hruska! · 2d470fc0
      Ted Kremenek authored
      "Here is a patch what replaces std::ostream with llvm::raw_ostream. This patch
      covers the AST library, but ignores Analysis lib."
      
      llvm-svn: 56185
      2d470fc0
  5. Aug 26, 2008
  6. Aug 24, 2008
  7. Aug 22, 2008
  8. Aug 10, 2008
    • Nico Weber's avatar
      Do not crash with -serialize. · e4919cc2
      Nico Weber authored
      This happened because seralization was done in the constructor, and at that time the TranslationUnit is no longer valid.
      
      llvm-svn: 54618
      e4919cc2
  9. Aug 09, 2008
  10. Aug 07, 2008
  11. Aug 05, 2008
    • Ted Kremenek's avatar
      Refactored driver logic for CodeGen into LLVMCodeGenWriter. This ASTConsumer... · 2c674f6d
      Ted Kremenek authored
      Refactored driver logic for CodeGen into LLVMCodeGenWriter.  This ASTConsumer layers on top of LLVMCodeGen (another existing ASTConsumer) to emit bitcode files to disk.  This layering takes this logic out of clang.cpp and puts it directly into the ASTConsumer interface.  The benefit is that now --emit-llvm works with both serialized ASTs and regular source files.
      
      llvm-svn: 54364
      2c674f6d
  12. Jul 21, 2008
  13. Jul 02, 2008
  14. Jun 21, 2008
  15. Jun 20, 2008
  16. Jun 09, 2008
  17. Jun 04, 2008
  18. May 31, 2008
  19. May 30, 2008
  20. May 23, 2008
  21. May 07, 2008
  22. May 06, 2008
  23. May 05, 2008
  24. May 02, 2008
  25. May 01, 2008
  26. Apr 29, 2008
  27. Apr 23, 2008
    • Ted Kremenek's avatar
      TranslationUnit now owns IdentifierTable, TargetInfo, and Selectors objects · 467297ab
      Ted Kremenek authored
      when it is constructed via deserialization.  This is done by recording a flag
      indicating that this is the case, and it deletes these objects by getting
      the references stored in the ASTContext object.  This fixes some memory
      leaks that occurs when we deserialize translation units from bitcode files.
      
      The rationale between having TranslationUnit sometimes own these objects and
      sometimes not is that a TranslationUnit object can be constructed from
      state generated by the parser (Preprocessor; semantic analyzer, etc.), and thus
      in these cases won't own the IdentifierTable or Selectors, etc.  During
      deserialization, there is no Preprocessor, so somebody needs to own these
      objects in order for them to be properly reclaimed.
      
      llvm-svn: 50149
      467297ab
    • Fariborz Jahanian's avatar
      Patch to build AST for property implementation declarations and · 6efdf1dd
      Fariborz Jahanian authored
      to print declaration from its AST.
      
      llvm-svn: 50117
      6efdf1dd
  28. Apr 18, 2008
    • Ted Kremenek's avatar
      class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its dstor. · f42f3fb4
      Ted Kremenek authored
      clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and
        passes it to the preprocessor object.
        
      clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main().
      
      html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new
      Preprocessor to highlight macros.
      
      class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros().
      Updated clients of HTMLDiagnostics to use this new interface.
      
      llvm-svn: 49875
      f42f3fb4
  29. Apr 17, 2008
  30. Apr 16, 2008
Loading