[CommandLine] Use Process::GetEnv instead of _wgetenv
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 24 Jul 2016 17:19:59 +0000 (17:19 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 24 Jul 2016 17:19:59 +0000 (17:19 +0000)
commitafb38afd5f2f89c746cb6293a493958f90560b9f
treeee32c0e893082231653a4f5b7fd831cc406bd957
parenta6878bdc0fda4f6c915c2426d9bdced8499d1b0c
[CommandLine] Use Process::GetEnv instead of _wgetenv

Process::GetEnv does the right thing across our platforms.
CommandLine.cpp had, more or less, the same logic.  Let's remove the
duplication.

No functional change is intended.

llvm-svn: 276572
llvm/lib/Support/CommandLine.cpp