]> granicus.if.org Git - clang/commit
Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Feb 2011 02:25:12 +0000 (02:25 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 18 Feb 2011 02:25:12 +0000 (02:25 +0000)
commit906c73ffbc78542ad333becb6e013dd9efc299b6
treeba454de9c55cb9e52010de9a138225f7fa4debe3
parentef9a1d0e13662162aa8cdae8732c33b5d751d80c
Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenAction

This removes the final dependency edge from any lib outside of CodeGen
to core.  As a result we can, and do, trim the dependency on core
from libclang, PrintFunctionNames, the unit tests and c-index-test.
While at it, review and trim other unneeded dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125820 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
examples/PrintFunctionNames/CMakeLists.txt
examples/clang-interpreter/main.cpp
include/clang/CodeGen/CodeGenAction.h
include/clang/Frontend/ASTConsumers.h
include/clang/Frontend/CompilerInstance.h
lib/CodeGen/CodeGenAction.cpp
lib/Frontend/CompilerInstance.cpp
tools/c-index-test/CMakeLists.txt
tools/c-index-test/Makefile
tools/driver/cc1_main.cpp
tools/libclang/CMakeLists.txt
tools/libclang/Makefile
unittests/Basic/Makefile
unittests/CMakeLists.txt
unittests/Frontend/FrontendActionTest.cpp
unittests/Frontend/Makefile