Skip to content
Snippets Groups Projects
  1. Dec 23, 2010
  2. Dec 22, 2010
  3. Nov 29, 2010
  4. Nov 24, 2010
  5. Nov 17, 2010
  6. Oct 30, 2010
  7. Sep 14, 2010
  8. Sep 10, 2010
  9. Aug 26, 2010
  10. Aug 25, 2010
  11. Aug 24, 2010
  12. Aug 11, 2010
  13. Aug 02, 2010
  14. Jul 26, 2010
  15. Jul 24, 2010
  16. Jul 22, 2010
  17. Jul 19, 2010
  18. Jul 17, 2010
  19. Jul 10, 2010
  20. Jul 06, 2010
  21. Jul 02, 2010
  22. Jun 16, 2010
  23. 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
  24. Jun 08, 2010
Loading