commit | 5d8b9548420e67f1bf45b7bbc1cf9fb86e9e4505 | [log] [tgz] |
---|---|---|
author | Sebastian Pop <spop@codeaurora.org> | Tue Nov 01 21:33:06 2011 +0000 |
committer | Sebastian Pop <spop@codeaurora.org> | Tue Nov 01 21:33:06 2011 +0000 |
tree | 10fa215c0f303684135043c0b8185c17f29e5799 | |
parent | 65ac598c7ba7e36f2ad611f2bb39cc957053be5d [diff] [blame] |
rename getHostTriple into getDefaultTargetTriple in clang git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143503 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/CreateInvocationFromCommandLine.cpp b/lib/Frontend/CreateInvocationFromCommandLine.cpp index fc15081..e94b944 100644 --- a/lib/Frontend/CreateInvocationFromCommandLine.cpp +++ b/lib/Frontend/CreateInvocationFromCommandLine.cpp
@@ -48,7 +48,7 @@ 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.