llvm-project/clang/tools
Chandler Carruth 39a3e7544a Fix a big layering violation introduced by r158771.
That commit added a new library just to hold the RawCommentList. I've
started a discussion on the commit thread about whether that is really
meritted -- it certainly doesn't seem necessary at this stage.

However, the immediate problem is that the AST library has a hard
dependency on the Comment library, but the dependencies were set up
completely backward. In addition to the layering violation, this had an
unfortunate effect if scattering the Comments library dependency
throughout the build system, but inconsistently so -- several parts of
the CMake dependencies were missing and only showed up due to transitive
deps or the fact that the target wasn't being built by tho bots.

It turns out that the Comments library can't (currently) be a well
formed layer *below* the AST library either, as it has an API that
accepts an ASTContext. That parameter is currently unused, so maybe that
was a mistake?

Anyways, it really seems like this is logically part of the AST --
that's the whole point of the ASTContext providing access to it as far
as I can tell -- so I've merged it into the AST library to solve the
immediate layering violation problems and remove some of the churn from
our library dependencies.

llvm-svn: 158807
2012-06-20 09:53:52 +00:00
..
arcmt-test Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
c-arcmt-test Kill the last vestiges of clangIndex 2012-04-13 17:26:32 +00:00
c-index-test Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
clang-check Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
diag-build Add new tool 'diag-build' for showing enabled warnings in a project. 2012-06-18 21:31:37 +00:00
diagtool Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
driver Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
libclang Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
scan-build Adjust scan-build to enable color output for xterm-256color. 2012-06-19 19:27:28 +00:00
scan-view Fix call to send_error() in scan-view. An int error code is expected but a string was being sent. Patch by Andrew Price! 2011-02-21 19:26:48 +00:00
CMakeLists.txt Adds a tooling library. 2012-04-04 12:07:46 +00:00
Makefile Adds a tooling library. 2012-04-04 12:07:46 +00:00