1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/Option
Hans Wennborg ad911dcfea 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

llvm-svn: 187537
2013-07-31 22:44:41 +00:00
..
Arg.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ArgList.h Revert "[Option] Store arg strings in a set backed by a BumpPtrAllocator" 2013-07-15 16:40:52 +00:00
Option.h Option parsing: add support for alias arguments. 2013-07-31 22:44:41 +00:00
OptParser.td Option parsing: add support for alias arguments. 2013-07-31 22:44:41 +00:00
OptSpecifier.h Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments. 2013-02-18 23:11:17 +00:00
OptTable.h Option parsing: add support for alias arguments. 2013-07-31 22:44:41 +00:00