aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/CommandLine.cpp
AgeCommit message (Expand)Author
2010-02-18Refer to -help instead of --help since this is what tools themselves say.Duncan Sands
2010-01-28Replace strcpy with memcpy when we have the length around anyway.Benjamin Kramer
2010-01-09Suppress use of uninitialized variable warning.Duncan Sands
2010-01-05Change errs() to dbgs().David Greene
2009-12-03Print a newline after the Args: line so that unrelated errs() output doesn'tDan Gohman
2009-11-25Perform explicit instantiations in the proper namespace, since Clang diagnose...Douglas Gregor
2009-11-20Move the handling of CommaSeparated options into ProvideOption.Mikhail Glushenkov
2009-11-19Trailing whitespace.Mikhail Glushenkov
2009-11-17Revert CPU detection code to return "generic" instead of an empty string in caseBenjamin Kramer
2009-11-14Report the detected host CPU in --version.Daniel Dunbar
2009-11-11Show command-line args and features passed into backend in debug output. Appr...Sandeep Patel
2009-10-06Bugfix for the CommaSeparated option. The original code was adding the wholeNicolas Geoffray
2009-09-24reapply r82348 with a fix, thanks Jeffrey.Chris Lattner
2009-09-24Roll back r82348, which introduced an infinite loop in ParseCStringVector() thatJeffrey Yasskin
2009-09-20tidy upChris Lattner
2009-09-20smallvectorize getExtraOptionNamesChris Lattner
2009-09-20minor cleanups.Chris Lattner
2009-09-20strength reduce further StringRef-> const char*, saving another 620 bytes.Chris Lattner
2009-09-20switch an std::string to StringRef, shaving 400 bytes off CommandLine.oChris Lattner
2009-09-20the switch from std::map -> StringMap caused --help output to be in Chris Lattner
2009-09-20eliminate the duplicate detection loop, moving it into the loop that populate...Chris Lattner
2009-09-20Eliminate a masochistic "algorithm" loop, shrinking CommandLine.o from 71524-...Chris Lattner
2009-09-20don't use count + insert, just do insert + failure. Also, instead of deletin...Chris Lattner
2009-09-20switch to SmallPtrSet instead of std::set, saving 1K from theChris Lattner
2009-09-20change an std::sort to an array_pod_sort call, shrinking CommandLine.o by 9%.Chris Lattner
2009-09-20Several changes together in a murky mess:Chris Lattner
2009-09-20Fix refacto, this code was expecting to stride past the argument prefix.Daniel Dunbar
2009-09-20convert argname to StringRef, simplifying LookupOption.Chris Lattner
2009-09-20convert 'Value' to StringRef which makes it easier to Chris Lattner
2009-09-20Change CommaSeparated processing to do it with StringRef instead of temporary...Chris Lattner
2009-09-20rewrite ParseCStringVector in terms of stringref.Chris Lattner
2009-09-20coding style cleanupChris Lattner
2009-09-20convert a bunch more stuff to use StringRef. The ArgName arguments are nowChris Lattner
2009-09-20avoid a bunch of malloc thrashing for PositinoalVals by eliminatingChris Lattner
2009-09-19Avoid some temporary strings.Chris Lattner
2009-09-19convert a bunch of std::strings to use StringRef. This should eliminateChris Lattner
2009-09-19Try to speed up the slowest parts of the CommandLine libraryBenjamin Kramer
2009-09-02Show derived host triple in --version.Daniel Dunbar
2009-08-23clean up #includes.Chris Lattner
2009-08-23Remove uses of Streams.h from CommandLine.cpp, fix some whitespace and other ...Benjamin Kramer
2009-08-23remove some uses of llvm/Support/Streams.hChris Lattner
2009-08-02Remove duplicated colons and spaces.Benjamin Kramer
2009-07-26Sort list of targets in --version.Daniel Dunbar
2009-07-16Add registered target list to --version output.Daniel Dunbar
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-11Convert more assert(0)+abort() -> LLVM_UNREACHABLE,Torok Edwin
2009-04-29Add support for a character after a command line option. Like '-Os'.Bill Wendling
2009-04-08Remove AllowInverse: it leaks memory and is not the rightChris Lattner
2009-04-01* Fixed spelling of `invertible'Misha Brukman