diff options
| author | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:33:06 +0000 |
|---|---|---|
| committer | Sebastian Pop <spop@codeaurora.org> | 2011-11-01 21:33:06 +0000 |
| commit | 8188c8a1f30ade4f0e6220a9809a10ca3b185b00 (patch) | |
| tree | 9f26c365556c23a6458f39dac2281ca4ce98e082 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
| parent | 94441fbad77bf451c2ca511e7c9cf54f85cf61fb (diff) | |
| download | bcm5719-llvm-8188c8a1f30ade4f0e6220a9809a10ca3b185b00.tar.gz bcm5719-llvm-8188c8a1f30ade4f0e6220a9809a10ca3b185b00.zip | |
rename getHostTriple into getDefaultTargetTriple in clang
llvm-svn: 143503
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
| -rw-r--r-- | clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp b/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp index fc1508103c2..e94b944f04c 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. |

