summaryrefslogtreecommitdiff
path: root/unittests/Option
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-07-19 18:04:57 +0000
committerReid Kleckner <reid@kleckner.net>2013-07-19 18:04:57 +0000
commita2549d382789fa33b5541708b2e4cf39e8bf56c9 (patch)
treed2f24688ce4304a54925e4014780e28911fafcdc /unittests/Option
parentba460864440b4dd192bd2809f913babe0cf07031 (diff)
downloadllvm-a2549d382789fa33b5541708b2e4cf39e8bf56c9.tar.gz
llvm-a2549d382789fa33b5541708b2e4cf39e8bf56c9.tar.bz2
llvm-a2549d382789fa33b5541708b2e4cf39e8bf56c9.tar.xz
[Option] Add inclusion and exclusion flags to option parsing
Summary: This allows the clang driver to put MSVC compatible options in the same enumerator space as its normal options but exclude them from normal option parsing. Also changes the standard ParseArgs() method to consider unknown arguments with a leading slash as being inputs rather than flags. High level discussion for clang-cl is here: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1049 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Option')
0 files changed, 0 insertions, 0 deletions