Skip to content
Snippets Groups Projects
  1. Dec 23, 2010
  2. Dec 22, 2010
  3. Dec 03, 2010
  4. Jun 15, 2010
    • Daniel Dunbar's avatar
      Break Frontend's dependency on Rewrite, Checker and CodeGen in shared library configuration · 9b414d3e
      Daniel Dunbar authored
      Currently, all AST consumers are located in the Frontend library,
      meaning that in a shared library configuration, Frontend has a
      dependency on Rewrite, Checker and CodeGen.  This is suboptimal for
      clients which only wish to make use of the frontend.  CodeGen in
      particular introduces a large number of unwanted dependencies.
      
      This patch breaks the dependency by moving all AST consumers with
      dependencies on Rewrite, Checker and/or CodeGen to their respective
      libraries.  The patch therefore introduces dependencies in the other
      direction (i.e. from Rewrite, Checker and CodeGen to Frontend).
      
      After applying this patch, Clang builds correctly using CMake and
      shared libraries ("cmake -DBUILD_SHARED_LIBS=ON").
      
      N.B. This patch includes file renames which are indicated in the
      patch body.
      
      Changes in this revision of the patch:
       - Fixed some copy-paste mistakes in the header files
       - Modified certain aspects of the coding to comply with the LLVM
         Coding Standards
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106010 91177308-0d34-0410-b5e6-96231b3b80d8
      9b414d3e
  5. Nov 28, 2009
  6. Nov 05, 2009
  7. Sep 09, 2009
  8. Jul 28, 2009
    • Ted Kremenek's avatar
      (1) Enable PlistDiagnostics to take an option "PathDiagnosticClientFactory" · f7556067
      Ted Kremenek authored
      object that it can use to forward PathDiagnostics for further processing. Along
      with this feature, the PlistDiagnostics object logs which files are created by
      the forwarding of the PathDiagnostics.
      
      (2) Create a new PathDiagnosticClientFactory object for HTMLDiagnostics,
      allowing other PathDiagnosticClients to forward PathDiagnostics through an
      opaque interface.
      
      (3) Create a "plist-html" diagnostics option in AnalysisConsumer to allow the
          logging of HTML files created in a hybrid Plist+HTML diagnostic client.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77264 91177308-0d34-0410-b5e6-96231b3b80d8
      f7556067
  9. Apr 17, 2009
  10. Mar 02, 2009
  11. Nov 04, 2008
  12. Nov 03, 2008
  13. Aug 24, 2008
  14. Apr 18, 2008
    • Ted Kremenek's avatar
      class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its dstor. · 339b9c27
      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.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49875 91177308-0d34-0410-b5e6-96231b3b80d8
      339b9c27
  15. Apr 16, 2008
  16. Mar 27, 2008
  17. Dec 29, 2007
  18. Sep 11, 2007
  19. Aug 31, 2007
    • Ted Kremenek's avatar
      Added "PrinterHelper" interface (include/AST/PrinterHelper) that can · 42a509f6
      Ted Kremenek authored
      be passed as an (optional) argument to StmtPrinter to customize
      printing of AST nodes.
      
      Used new PrinterHelper interface to enhance printing and visualization
      of CFGs.  The CFGs now illustrate the semantic connectives between
      statements and terminators, wheras in the previous printing certain
      expressions would (visible) be printed multiple times to reflect which
      expressions used the results of other expressions.
      
      The end result is that the CFG is easier to read for flow of
      expression values (following principles similar to the LLVM IR).
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41651 91177308-0d34-0410-b5e6-96231b3b80d8
      42a509f6
Loading