summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/OptTable.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Driver: Implement 'missing argument' error.Daniel Dunbar2009-03-221-3/+10
| | | | llvm-svn: 67490
* Driver: Add "d" flag to Options.def for options which are completelyDaniel Dunbar2009-03-181-3/+13
| | | | | | | | | | | | handled by driver. - This is not very precise, we use it to drive the "forward-to-gcc" predicate, when trying to talk to a generic gcc tool. - Slightly better than what ccc was doing, and should be good enough. Platforms which want a robust driver should implement a proper tool chain. llvm-svn: 67181
* Driver: Value initialization is nicer than memset.Daniel Dunbar2009-03-121-2/+1
| | | | | | | | | - Who wouldn't want correctness to hang critically on two easily ignored characters? Thanks Doug! llvm-svn: 66819
* Driver: Drop some unnecessary uses of clang namespace.Daniel Dunbar2009-03-121-1/+0
| | | | llvm-svn: 66813
* Driver: '-' is parsed as an input.Daniel Dunbar2009-03-121-2/+2
| | | | llvm-svn: 66784
* Driver: Add Option flags.Daniel Dunbar2009-03-121-3/+4
| | | | llvm-svn: 66774
* Driver: Tweak option naming/def:Daniel Dunbar2009-03-121-8/+8
| | | | | | | | | | | - Use OPT_ prefix for ids. - Reference groups and aliases by shortend id (on the theory that this is more readable). - Rename the special option ids to more protected names. llvm-svn: 66767
* Driver: Reorder arguments in Options.def so option name is first.Daniel Dunbar2009-03-121-6/+7
| | | | llvm-svn: 66759
* Driver: Implement Option::accept methods.Daniel Dunbar2009-03-041-1/+1
| | | | llvm-svn: 66106
* Driver: Fix off by one in ParseOneArg; this code is ugly but will beDaniel Dunbar2009-03-041-2/+2
| | | | | | replaced anyway. llvm-svn: 66101
* Driver: Add OptTable::ParseOneArg.Daniel Dunbar2009-03-041-0/+23
| | | | llvm-svn: 66090
* Driver: Option's need to know their ID.Daniel Dunbar2009-03-041-11/+18
| | | | | | - Also, add Input and Unknown opts to OptTable. llvm-svn: 66079
* Driver: Add Option flags.Daniel Dunbar2009-03-041-13/+6
| | | | llvm-svn: 66067
* Driver: More Option implementation.Daniel Dunbar2009-03-041-0/+117
- Add Options.def file, collects option information. - Actual option instantiation is handled lazily by OptTable to allow the driver to not need to instantiate all options. - cast<> support for Option, other minor tweaks. llvm-svn: 66028
OpenPOWER on IntegriCloud