aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-22 19:53:00 +0000
committerChris Lattner <sabre@nondot.org>2009-01-22 19:53:00 +0000
commitb67c95834226fc44c435ca97dc5a536bccb30bbf (patch)
treef38c314327a067bddd5b26db97a608e176a66d9b /lib/System
parent5e3c013f81829645ca53a93a92b8032b7049aed3 (diff)
downloadexternal_llvm-b67c95834226fc44c435ca97dc5a536bccb30bbf.zip
external_llvm-b67c95834226fc44c435ca97dc5a536bccb30bbf.tar.gz
external_llvm-b67c95834226fc44c435ca97dc5a536bccb30bbf.tar.bz2
rename methods in System/Host to be more consistent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Unix/Host.inc4
-rw-r--r--lib/System/Win32/Host.inc4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/System/Unix/Host.inc b/lib/System/Unix/Host.inc
index 7bee66f..205ce23 100644
--- a/lib/System/Unix/Host.inc
+++ b/lib/System/Unix/Host.inc
@@ -23,7 +23,7 @@
using namespace llvm;
-std::string llvm::sys::osName() {
+std::string llvm::sys::getOSName() {
struct utsname info;
if (uname(&info))
@@ -32,7 +32,7 @@ std::string llvm::sys::osName() {
return info.sysname;
}
-std::string llvm::sys::osVersion() {
+std::string llvm::sys::getOSVersion() {
struct utsname info;
if (uname(&info))
diff --git a/lib/System/Win32/Host.inc b/lib/System/Win32/Host.inc
index 7bbf2bd..4fabc78 100644
--- a/lib/System/Win32/Host.inc
+++ b/lib/System/Win32/Host.inc
@@ -17,11 +17,11 @@
using namespace llvm;
-std::string sys::osName() {
+std::string sys::getOSName() {
return "Windows";
}
-std::string sys::osVersion() {
+std::string sys::getOSVersion() {
OSVERSIONINFO osvi;
memset(&osvi, 0, sizeof(osvi));