aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.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/CompilerInvocation.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/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 6950647..79e087e 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1915,9 +1915,9 @@ static void ParseTargetArgs(TargetOptions &Opts, ArgList &Args) {
Opts.LinkerVersion = Args.getLastArgValue(OPT_target_linker_version);
Opts.Triple = llvm::Triple::normalize(Args.getLastArgValue(OPT_triple));
- // Use the host triple if unspecified.
+ // Use the default target triple if unspecified.
if (Opts.Triple.empty())
- Opts.Triple = llvm::sys::getHostTriple();
+ Opts.Triple = llvm::sys::getDefaultTargetTriple();
}
//