llvm-project/clang/tools/driver
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
..
CMakeLists.txt Fix cmake build. 2012-06-20 01:18:08 +00:00
Info.plist.in build/Darwin: Add missing Info.plist template. 2010-07-15 20:26:56 +00:00
Makefile Fix a big layering violation introduced by r158771. 2012-06-20 09:53:52 +00:00
cc1_main.cpp Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. 2012-05-01 14:57:16 +00:00
cc1as_main.cpp Allow MCCodeEmitter access to the target MCRegisterInfo. 2012-05-15 17:36:07 +00:00
clang_symlink.cmake CMAKE_EXECUTABLE_SUFFIX is undefined when a cmake script is executed 2011-02-22 13:05:15 +00:00
driver.cpp Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver. 2012-05-01 14:57:16 +00:00