Clarify a comment.
authorBob Wilson <bob.wilson@apple.com>
Wed, 10 Aug 2011 05:02:22 +0000 (05:02 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 10 Aug 2011 05:02:22 +0000 (05:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137204 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Unix/Host.inc

index 744fb9e699699a53b67aebb4a0b0c467ce1b97e7..c5de97f73c9fe16bb8057aa95f14fc9b1e43b32a 100644 (file)
@@ -30,7 +30,9 @@ static std::string getOSVersion() {
   struct utsname info;
 
 #ifdef __APPLE__
-  // Recognize UNAME_RELEASE environment variable to match Darwin uname.
+  // Recognize UNAME_RELEASE environment variable to match Darwin's uname,
+  // where the value of this variable sets the OS release version
+  // reported by "uname -r".
   const char *UnameOverride = ::getenv("UNAME_RELEASE");
   if (UnameOverride && UnameOverride[0] != '\0')
     return UnameOverride;