aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-05-10Add new configure option, --disable-timestamps, intended to turn off anything...Daniel Dunbar1-0/+2
2010-03-24Fix minor style issues.Dan Gohman1-2/+2
2010-02-18Refer to -help instead of --help since this is what tools themselves say.Duncan Sands1-7/+7
2010-01-28Replace strcpy with memcpy when we have the length around anyway.Benjamin Kramer1-2/+3
2010-01-09Suppress use of uninitialized variable warning.Duncan Sands1-1/+1
2010-01-05Change errs() to dbgs().David Greene1-3/+3
2009-12-03Print a newline after the Args: line so that unrelated errs() output doesn'tDan Gohman1-1/+2
2009-11-25Perform explicit instantiations in the proper namespace, since Clang diagnose...Douglas Gregor1-0/+2
2009-11-20Move the handling of CommaSeparated options into ProvideOption.Mikhail Glushenkov1-23/+33
2009-11-19Trailing whitespace.Mikhail Glushenkov1-25/+25
2009-11-17Revert CPU detection code to return "generic" instead of an empty string in caseBenjamin Kramer1-1/+1
2009-11-14Report the detected host CPU in --version.Daniel Dunbar1-0/+3
2009-11-11Show command-line args and features passed into backend in debug output. Appr...Sandeep Patel1-0/+6
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