aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
AgeCommit message (Expand)AuthorFilesLines
2009-10-06Bugfix for the CommaSeparated option. The original code was adding the wholeNicolas Geoffray1-0/+1
2009-09-24reapply r82348 with a fix, thanks Jeffrey.Chris Lattner1-33/+24
2009-09-24Roll back r82348, which introduced an infinite loop in ParseCStringVector() thatJeffrey Yasskin1-22/+33
2009-09-20tidy upChris Lattner1-1/+1
2009-09-20smallvectorize getExtraOptionNamesChris Lattner1-2/+1
2009-09-20minor cleanups.Chris Lattner1-22/+24
2009-09-20strength reduce further StringRef-> const char*, saving another 620 bytes.Chris Lattner1-5/+11
2009-09-20switch an std::string to StringRef, shaving 400 bytes off CommandLine.oChris Lattner1-11/+10
2009-09-20the switch from std::map -> StringMap caused --help output to be in Chris Lattner1-5/+15
2009-09-20eliminate the duplicate detection loop, moving it into the loop that populate...Chris Lattner1-13/+6
2009-09-20Eliminate a masochistic "algorithm" loop, shrinking CommandLine.o from 71524-...Chris Lattner1-13/+8
2009-09-20don't use count + insert, just do insert + failure. Also, instead of deletin...Chris Lattner1-6/+9
2009-09-20switch to SmallPtrSet instead of std::set, saving 1K from theChris Lattner1-4/+4
2009-09-20change an std::sort to an array_pod_sort call, shrinking CommandLine.o by 9%.Chris Lattner1-1/+2
2009-09-20Several changes together in a murky mess:Chris Lattner1-84/+102
2009-09-20Fix refacto, this code was expecting to stride past the argument prefix.Daniel Dunbar1-0/+1
2009-09-20convert argname to StringRef, simplifying LookupOption.Chris Lattner1-21/+22
2009-09-20convert 'Value' to StringRef which makes it easier to Chris Lattner1-12/+8
2009-09-20Change CommaSeparated processing to do it with StringRef instead of temporary...Chris Lattner1-21/+26
2009-09-20rewrite ParseCStringVector in terms of stringref.Chris Lattner1-33/+22
2009-09-20coding style cleanupChris Lattner1-13/+12
2009-09-20convert a bunch more stuff to use StringRef. The ArgName arguments are nowChris Lattner1-28/+29
2009-09-20avoid a bunch of malloc thrashing for PositinoalVals by eliminatingChris Lattner1-11/+9
2009-09-19Avoid some temporary strings.Chris Lattner1-19/+6
2009-09-19convert a bunch of std::strings to use StringRef. This should eliminateChris Lattner1-48/+56
2009-09-19Try to speed up the slowest parts of the CommandLine libraryBenjamin Kramer1-28/+28
2009-09-02Show derived host triple in --version.Daniel Dunbar1-0/+2
2009-08-23clean up #includes.Chris Lattner1-8/+4
2009-08-23Remove uses of Streams.h from CommandLine.cpp, fix some whitespace and other ...Benjamin Kramer1-39/+36
2009-08-23remove some uses of llvm/Support/Streams.hChris Lattner1-45/+45
2009-08-02Remove duplicated colons and spaces.Benjamin Kramer1-15/+15
2009-07-26Sort list of targets in --version.Daniel Dunbar1-8/+11
2009-07-16Add registered target list to --version output.Daniel Dunbar1-2/+20
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin1-2/+2
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin1-1/+1
2009-07-11Convert more assert(0)+abort() -> LLVM_UNREACHABLE,Torok Edwin1-2/+2
2009-04-29Add support for a character after a command line option. Like '-Os'.Bill Wendling1-0/+3
2009-04-08Remove AllowInverse: it leaks memory and is not the rightChris Lattner1-21/+0
2009-04-01* Fixed spelling of `invertible'Misha Brukman1-2/+2
2009-03-28move a large method out of line.Chris Lattner1-0/+19
2009-02-02Improve -fno-opt style option processing to not require an extraMike Stump1-19/+2
2009-01-30Add opposite_of and inverse_opt to support -fno- style options. ThisMike Stump1-1/+21
2009-01-28Clarify comment.Mikhail Glushenkov1-1/+6
2009-01-21Mimic gcc behaviour with regard to response files.Mikhail Glushenkov1-16/+15
2009-01-16Support for multi-valued options in CommandLineMikhail Glushenkov1-4/+40
2008-12-23Tweak --version to include the date and time.Steve Naroff1-0/+1
2008-12-09remove unused varNuno Lopes1-2/+0
2008-10-14Fix command-line option printing to print two spaces where needed,Dan Gohman1-1/+1
2008-05-30Give a proper error message when a command line option is defined more thanMatthijs Kooijman1-1/+1
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng1-28/+28