[cfe-commits] r172664 - /cfe/trunk/examples/clang-interpreter/main.cpp
Peter Collingbourne
peter at pcc.me.uk
Wed Jan 16 14:37:09 PST 2013
Author: pcc
Date: Wed Jan 16 16:37:09 2013
New Revision: 172664
URL: http://llvm.org/viewvc/llvm-project?rev=172664&view=rev
Log:
Use getProcessTriple in clang-interpreter.
Modified:
cfe/trunk/examples/clang-interpreter/main.cpp
Modified: cfe/trunk/examples/clang-interpreter/main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/main.cpp?rev=172664&r1=172663&r2=172664&view=diff
==============================================================================
--- cfe/trunk/examples/clang-interpreter/main.cpp (original)
+++ cfe/trunk/examples/clang-interpreter/main.cpp Wed Jan 16 16:37:09 2013
@@ -74,8 +74,7 @@
IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
- Driver TheDriver(Path.str(), llvm::sys::getDefaultTargetTriple(),
- "a.out", Diags);
+ Driver TheDriver(Path.str(), llvm::sys::getProcessTriple(), "a.out", Diags);
TheDriver.setTitle("clang interpreter");
// FIXME: This is a hack to try to force the driver to do something we can
More information about the cfe-commits
mailing list