aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2011-11-01 21:33:06 +0000
committerSebastian Pop <spop@codeaurora.org>2011-11-01 21:33:06 +0000
commit8188c8a1f30ade4f0e6220a9809a10ca3b185b00 (patch)
tree9f26c365556c23a6458f39dac2281ca4ce98e082 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent94441fbad77bf451c2ca511e7c9cf54f85cf61fb (diff)
downloadllvm-8188c8a1f30ade4f0e6220a9809a10ca3b185b00.zip
llvm-8188c8a1f30ade4f0e6220a9809a10ca3b185b00.tar.gz
llvm-8188c8a1f30ade4f0e6220a9809a10ca3b185b00.tar.bz2
rename getHostTriple into getDefaultTargetTriple in clang
llvm-svn: 143503
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
-rw-r--r--clang/lib/Frontend/CreateInvocationFromCommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
index fc150810..e94b944 100644
--- a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
+++ b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
@@ -48,7 +48,7 @@ clang::createInvocationFromCommandLine(ArrayRef<const char *> ArgList,
Args.push_back("-fsyntax-only");
// FIXME: We shouldn't have to pass in the path info.
- driver::Driver TheDriver("clang", llvm::sys::getHostTriple(),
+ driver::Driver TheDriver("clang", llvm::sys::getDefaultTargetTriple(),
"a.out", false, *Diags);
// Don't check that inputs exist, they may have been remapped.