[clang-cl] Add support for CL and _CL_ environment variables
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 10 Aug 2015 18:16:32 +0000 (18:16 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 10 Aug 2015 18:16:32 +0000 (18:16 +0000)
commit3a4f95867f08a144e76cdc76729a3cb626a0f5d7
tree5414430ce276ec10d7200d901ff58a0434870197
parent1a1e1ca9492ec50b91a96a26694e0a398cc68296
[clang-cl] Add support for CL and _CL_ environment variables

cl uses 'CL' and '_CL_' to prepend and append command line options to
the given argument vector.  There is an additional quirk whereby '#' is
transformed into '='.

Differential Revision: http://reviews.llvm.org/D11896

llvm-svn: 244473
clang/test/Driver/cl-options.c
clang/tools/driver/driver.cpp