History log of /external/llvm/include/llvm/Option/OptTable.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2957273b888dabe8be8e2fa5ac691e39879685c4 28-Aug-2013 Rui Ueyama <ruiu@google.com> Option parsing: support case-insensitive option matching.

Re-submitting r189416 with fix for Windows build on where strcasecmp is not defined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
1997734e37775a68182b3fd508a52e0c28ff36f8 28-Aug-2013 Rui Ueyama <ruiu@google.com> Revert "Option parsing: support case-insensitive option matching." as it broke Windows buildbot.

This reverts r189416.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
055f4e99ffb32462db6fc62f9a306f2865acacb0 28-Aug-2013 Rui Ueyama <ruiu@google.com> Option parsing: support case-insensitive option matching.

Link.exe's command line options are case-insensitive. This patch
adds a new attribute to OptTable to let the option parser to compare
options, ignoring case.

Command lines are generally case-insensitive on Windows. CL.exe is an
exception. So this new attribute should be useful for other commands
running on Windows.

Differential Revision: http://llvm-reviews.chandlerc.com/D1485

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
9dd8c0cffe7de82900823c05159bba765120f1e3 01-Aug-2013 Hans Wennborg <hans@hanshq.net> Option parsing: add support for alias arguments.

This makes option aliases more powerful by enabling them to
pass along arguments to the option they're aliasing.

For example, if we have a joined option "-foo=", we can now
specify a flag option "-bar" to be an alias of that, with the
argument "baz".

This is especially useful for the cl.exe compatible clang driver,
where many options are aliases. For example, this patch enables
us to alias "/Ox" to "-O3" (-O is a joined option), and "/WX" to
"-Werror" (again, -W is a joined option).

Differential Revision: http://llvm-reviews.chandlerc.com/D1245

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187537 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
a2549d382789fa33b5541708b2e4cf39e8bf56c9 19-Jul-2013 Reid Kleckner <reid@kleckner.net> [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
/external/llvm/include/llvm/Option/OptTable.h
1ee21dc1e11abdc56102d0f54265af73f5468bf9 13-Jun-2013 Reid Kleckner <reid@kleckner.net> Merge changes to clang's Driver code into LLVM's Option library

This is in preparation for switching the clang driver over to using LLVM's
Option library. Richard Smith introduced most of these changes to the clang
driver in r167638.

Reviewers: espindola on IRC

Differential Revision: http://llvm-reviews.chandlerc.com/D970

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183925 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
674be02d525d4e24bc6943ed9274958c580bcfbc 10-Jan-2013 Jakub Staszak <kubastaszak@gmail.com> Fix include guards so they exactly match file names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h
96a564f2beec8c1930f0640844eec433e03bbce8 05-Dec-2012 Michael J. Spencer <bigcheesegs@gmail.com> Copy clang/Driver/<Option parsing stuff> to llvm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Option/OptTable.h