[cfe-commits] r109347 - in /cfe/trunk/examples/clang-interpreter: CMakeLists.txt main.cpp
Peter Collingbourne
peter at pcc.me.uk
Sat Jul 24 10:59:51 PDT 2010
Author: pcc
Date: Sat Jul 24 12:59:51 2010
New Revision: 109347
URL: http://llvm.org/viewvc/llvm-project?rev=109347&view=rev
Log:
Fix clang-interpreter build
Modified:
cfe/trunk/examples/clang-interpreter/CMakeLists.txt
cfe/trunk/examples/clang-interpreter/main.cpp
Modified: cfe/trunk/examples/clang-interpreter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/CMakeLists.txt?rev=109347&r1=109346&r2=109347&view=diff
==============================================================================
--- cfe/trunk/examples/clang-interpreter/CMakeLists.txt (original)
+++ cfe/trunk/examples/clang-interpreter/CMakeLists.txt Sat Jul 24 12:59:51 2010
@@ -6,6 +6,7 @@
clangCodeGen
clangSema
clangChecker
+ clangIndex
clangAnalysis
clangRewrite
clangAST
Modified: cfe/trunk/examples/clang-interpreter/main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/main.cpp?rev=109347&r1=109346&r2=109347&view=diff
==============================================================================
--- cfe/trunk/examples/clang-interpreter/main.cpp (original)
+++ cfe/trunk/examples/clang-interpreter/main.cpp Sat Jul 24 12:59:51 2010
@@ -69,8 +69,7 @@
TextDiagnosticPrinter DiagClient(llvm::errs(), DiagnosticOptions());
Diagnostic Diags(&DiagClient);
- Driver TheDriver(Path.getBasename(), Path.getDirname(),
- llvm::sys::getHostTriple(),
+ Driver TheDriver(Path.str(), llvm::sys::getHostTriple(),
"a.out", /*IsProduction=*/false, /*CXXIsProduction=*/false,
Diags);
TheDriver.setTitle("clang interpreter");
More information about the cfe-commits
mailing list