From 21ab6c066d3ca953409916f0a78d1c022a665d29 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 10 Aug 2011 05:02:22 +0000 Subject: [PATCH] Clarify a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137204 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Unix/Host.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc index 744fb9e6996..c5de97f73c9 100644 --- a/lib/Support/Unix/Host.inc +++ b/lib/Support/Unix/Host.inc @@ -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;