History log of /external/llvm/lib/Option/OptTable.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Option/OptTable.cpp
42f2a6b41ea62d4ccd10a6c469b27549881a7406 04-Nov-2013 Jakub Staszak <kubastaszak@gmail.com> Use startswith_lower() where possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
add560eee426339135fbabcad764b2afad46285e 11-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Fix another mistake in r190442.

Sorry about that; I'll try to be more careful about DEBUG mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
63a9660a414299bbb93a1edf914c5200413adf73 11-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Remove unused functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190442 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp
b06ccefc910a32564cb55aaf6fe265182293bfaa 14-Aug-2013 Hans Wennborg <hans@hanshq.net> Options: explicit handling of --

Clients of the option parsing library should handle it explicitly
using a KIND_REMAINING_ARGS option.

Clang and lld have been updated in r188316 and r188318, respectively.

Also fix -Wsign-compare warning in the option parsing test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188323 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
af9e3557552c341615052a05d4eeb36d7fd5c33f 13-Aug-2013 Hans Wennborg <hans@hanshq.net> Options: Add new option kind that consumes remaining arguments

This adds KIND_REMAINING_ARGS, a class of options that consume
all remaining arguments on the command line.

This will be used to support /link in clang-cl, which is used
to forward all remaining arguments to the linker.

It also allows us to remove the hard-coded handling of "--",
allowing clients (clang and lld) to implement that functionality
themselves with this new option class.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
6bf104b165cec9c14dacf10bf3380eeb32c278d7 02-Aug-2013 Hans Wennborg <hans@hanshq.net> Option parsing: recognize the special -- token

Everything that comes after -- should be treated as a filename. This
enables passing in filenames that would otherwise be conflated with
command-line options.

This is especially important for clang-cl which supports options
starting with /, which are easily conflatable with Unix-style
path names.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187675 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp
58a2cbef4aac9ee7d530dfb690c78d6fc11a2371 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Resort the #include lines in include/... and lib/... with the
utils/sort_includes.py script.

Most of these are updating the new R600 target and fixing up a few
regressions that have creeped in since the last time I sorted the
includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Option/OptTable.cpp
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/lib/Option/OptTable.cpp