summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/ArgList.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Driver: Add default for ArgList::hasFlag and simplify implementation.Daniel Dunbar2009-04-071-6/+2
| | | | llvm-svn: 68549
* Driver: Explicitly ignore -fpch-preprocess when using clang, we don'tDaniel Dunbar2009-04-031-0/+9
| | | | | | need to do anything special to support this. llvm-svn: 68403
* Driver: Unbreak ArgList::hasFlag.Daniel Dunbar2009-03-301-1/+1
| | | | | | | - <rdar://problem/6726511> [driver] clang does not have -msoft-float hooked up. llvm-svn: 68044
* Driver: Track which original arguments an arg is derived from, so thatDaniel Dunbar2009-03-291-8/+9
| | | | | | | we can properly claim arguments, even if they have been translated by the tool chain. llvm-svn: 68020
* Driver: Add ArgList::AddAllArgsTranslated; for forwarding options toDaniel Dunbar2009-03-261-0/+13
| | | | | | | tools with the name of the option replace, and arguments rendered separately. llvm-svn: 67753
* Driver: Prep for tool chain specific argument translation.Daniel Dunbar2009-03-251-50/+78
| | | | | | | | | | | | | | | | - Lift ArgList to a base class for InputArgList and DerivedArgList. - This is not a great decomposition, but it does embed the translation into the type system, and keep things efficient for tool chains that don't want to do any translation. - No intended functionality change. Eventually I hope to get rid of tool chain specific translation and have each tool do the right thing, but for now this is the easiest way to match gcc precisely (which is good for testing). llvm-svn: 67676
* Driver: ArgList::getLastArg was in fact returning the first matching arg.Daniel Dunbar2009-03-241-3/+1
| | | | | | | - <rdar://problem/6715818> clang doesn't honor gcc semantic that last -O optimization option wins. llvm-svn: 67628
* Driver: Implement 'missing argument' error.Daniel Dunbar2009-03-221-1/+3
| | | | llvm-svn: 67490
* Driver: Add two option overload for AddAllArgValues.Daniel Dunbar2009-03-201-0/+13
| | | | llvm-svn: 67377
* Driver: Add argument translation utilities to ArgList.Daniel Dunbar2009-03-181-0/+65
| | | | | | | | - Support things like telling which -ffoo -fno-foo option won, and forwarding all arguments matching a certain set of options to the tool. llvm-svn: 67189
* Driver: Fix typo ArgList destructor.Daniel Dunbar2009-03-171-1/+1
| | | | llvm-svn: 67101
* Driver: Add two option form of ArgList::getLastArg.Daniel Dunbar2009-03-171-0/+14
| | | | llvm-svn: 67090
* Add ArgList::MakeArgString and make ArgList::Make* const.Daniel Dunbar2009-03-171-6/+10
| | | | | | | | | - Slightly strange, but the idea is that the ArgList data structure is primarily a list of arguments; we want to allow clients to still add argument strings to an ArgList to avoid worrying about string lifetimes (or unnecessary string copying). llvm-svn: 67086
* Driver: Update ArgList::{hasArg,getLastArg} to optionally claim theDaniel Dunbar2009-03-151-3/+6
| | | | | | arguments if they exist. llvm-svn: 67014
* Driver: Fix think in ArgList::MakeIndex.Daniel Dunbar2009-03-131-1/+1
| | | | llvm-svn: 66908
* Driver: Add ArgList support for synthesizing arguments.Daniel Dunbar2009-03-121-0/+36
| | | | llvm-svn: 66805
* Driver: Add ArgList::getLastArg.Daniel Dunbar2009-03-121-3/+3
| | | | llvm-svn: 66794
* Driver: Fix thinko in Arg::hasArg.Daniel Dunbar2009-03-121-1/+1
| | | | llvm-svn: 66785
* Driver: Add ArgList::hasArg, for testing for the presence of anDaniel Dunbar2009-03-121-0/+11
| | | | | | argument matching some Option::ID. llvm-svn: 66758
* Driver: Add ArgList::{append, getArgString}Daniel Dunbar2009-03-041-0/+9
| | | | llvm-svn: 66089
* Driver: Add ArgList implementation.Daniel Dunbar2009-03-041-0/+22
llvm-svn: 66037
OpenPOWER on IntegriCloud