summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2011-11-01 21:32:20 +0000
committerSebastian Pop <spop@codeaurora.org>2011-11-01 21:32:20 +0000
commit0173864d8a87d9243d304fbf91b556e20b5a32fc (patch)
tree664b5b6cf13cc718f8779b8de94d85079c52f5cf /include
parentde2e0b5e6d5aa7eccf62df17b86c31b39732bf86 (diff)
downloadllvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.tar.gz
llvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.tar.bz2
llvm-0173864d8a87d9243d304fbf91b556e20b5a32fc.tar.xz
rename getHostTriple into getDefaultTargetTriple
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Host.h b/include/llvm/Support/Host.h
index f77d4c1182..d52f631956 100644
--- a/include/llvm/Support/Host.h
+++ b/include/llvm/Support/Host.h
@@ -33,14 +33,14 @@ namespace sys {
return !isLittleEndianHost();
}
- /// getHostTriple() - Return the target triple of the running
+ /// getDefaultTargetTriple() - Return the target triple of the running
/// system.
///
/// The target triple is a string in the format of:
/// CPU_TYPE-VENDOR-OPERATING_SYSTEM
/// or
/// CPU_TYPE-VENDOR-KERNEL-OPERATING_SYSTEM
- std::string getHostTriple();
+ std::string getDefaultTargetTriple();
/// getHostCPUName - Get the LLVM name for the host CPU. The particular format
/// of the name is target dependent, and suitable for passing as -mcpu to the