commit | a2549d382789fa33b5541708b2e4cf39e8bf56c9 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <reid@kleckner.net> | Fri Jul 19 18:04:57 2013 +0000 |
committer | Reid Kleckner <reid@kleckner.net> | Fri Jul 19 18:04:57 2013 +0000 |
tree | d2f24688ce4304a54925e4014780e28911fafcdc | |
parent | ba460864440b4dd192bd2809f913babe0cf07031 [diff] |
[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