diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-01 09:51:01 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-01 09:51:01 +0000 |
commit | 521bf9c529e653ab28896d027352d3e16e2672d5 (patch) | |
tree | 9e42e1b5d84aef7e15c945b03844a40975637fc8 /tools/c-index-test | |
parent | d8fdde119630fa717457ab23b077f447bb2e9e3a (diff) |
Add ASTUnit::LoadFromCompilerInvocation, which does what it says.
Also, add an -ast-from-source option to index-test which allows index-test to
run on source files directly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test')
-rw-r--r-- | tools/c-index-test/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tools/c-index-test/Makefile | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt index 4c724659f6..4678461de1 100644 --- a/tools/c-index-test/CMakeLists.txt +++ b/tools/c-index-test/CMakeLists.txt @@ -4,8 +4,11 @@ set( LLVM_USED_LIBS CIndex clangIndex clangFrontend + clangDriver + clangAnalysis clangSema clangAST + clangParse clangLex clangBasic ) diff --git a/tools/c-index-test/Makefile b/tools/c-index-test/Makefile index 81fee40b66..ae49bf4d7a 100644 --- a/tools/c-index-test/Makefile +++ b/tools/c-index-test/Makefile @@ -19,6 +19,7 @@ TOOL_NO_EXPORTS = 1 include $(LEVEL)/Makefile.config LINK_COMPONENTS := bitreader mc -USEDLIBS = CIndex.a clangIndex.a clangFrontend.a clangSema.a clangAST.a clangLex.a clangBasic.a +USEDLIBS = CIndex.a clangIndex.a clangFrontend.a clangDriver.a clangAnalysis.a \ + clangSema.a clangAST.a clangParse.a clangLex.a clangBasic.a include $(LLVM_SRC_ROOT)/Makefile.rules |