Add llvm::sys::{osName,osVersion} for retrieving operating system name
authorDaniel Dunbar <daniel@zuster.org>
Thu, 2 Oct 2008 01:17:28 +0000 (01:17 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 2 Oct 2008 01:17:28 +0000 (01:17 +0000)
commitbb146720973e23a21015a86176bfb1cbf552fb10
tree5a095c4f27d48351504fd66f0e895db738115e05
parent0b3baaa7fb47e0cbbaad700ee2280fa148e15afd
Add llvm::sys::{osName,osVersion} for retrieving operating system name
& version as strings.
 - Win32 code is untested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56942 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/System/Host.h
lib/System/Host.cpp [new file with mode: 0644]
lib/System/Unix/Host.inc [new file with mode: 0644]
lib/System/Win32/Host.inc [new file with mode: 0644]