History log of /external/llvm/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.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/unittests/Option/OptionParsingTest.cpp
a15d5db7f25b609faa1780a954451e4a07d39f37 01-Aug-2013 Hans Wennborg <hans@hanshq.net> Option parsing: remove non-SUPPORT_ALIASARGS fall-back

The clients of this code have been updated to all support AliasArgs.

This depends on Clang r187538 and lld r187541.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Option/OptionParsingTest.cpp
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/unittests/Option/OptionParsingTest.cpp
6c7e78746e059916892f1df279b681d962a70954 22-Jul-2013 Hans Wennborg <hans@hanshq.net> Option parsing: allow aliases in groups

Option aliases in option groups were previously disallowed by an assert.
As far as I can tell, there was no technical reason for this, and I would
like to be able to put cl.exe compatible options in their own group for Clang,
so let's change the assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Option/OptionParsingTest.cpp
75b1783b2bf18572e9c286eaaa7f95ee82e7c514 19-Jul-2013 Reid Kleckner <reid@kleckner.net> Add some flag exclusion tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Option/OptionParsingTest.cpp
023d97d70305dfe5a1a24659496ef95dc6bf3d39 23-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> llvm/unittests: Use OwningPtr to fix --vg-leak.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Option/OptionParsingTest.cpp
3fe36d0fddd38e05daeb6f967fd0044a373a8f09 23-Jan-2013 NAKAMURA Takumi <geek4civic@gmail.com> Whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173234 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Option/OptionParsingTest.cpp
7f00f87767036e74445aad0164eea13cf2642610 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Sort a few more #include lines in tools/... unittests/... and utils/...

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