- Sep 24, 2009
-
-
Jeffrey Yasskin authored
a trivial unittest would have caught. This revision also adds the trivial unittest. llvm-svn: 82675
-
- Sep 20, 2009
-
-
Chris Lattner authored
llvm-svn: 82384
-
Chris Lattner authored
llvm-svn: 82377
-
Chris Lattner authored
llvm-svn: 82375
-
Chris Lattner authored
llvm-svn: 82372
-
Chris Lattner authored
llvm-svn: 82370
-
Chris Lattner authored
non-sorted order, restore the sort. llvm-svn: 82368
-
Chris Lattner authored
eliminate the duplicate detection loop, moving it into the loop that populates the Opts vector in the first place. llvm-svn: 82367
-
Chris Lattner authored
llvm-svn: 82366
-
Chris Lattner authored
the middle of a vector, swap the last element in and pop_back. Also saves 330 bytes :) llvm-svn: 82365
-
Chris Lattner authored
release-asserts .o file (72900->71856). llvm-svn: 82364
-
Chris Lattner authored
llvm-svn: 82363
-
Chris Lattner authored
1. Change some "\n" -> '\n'. 2. eliminte some std::string's by using raw_ostream::indent. 3. move a bunch of code out of the main arg parser routine into a new static HandlePrefixedOrGroupedOption function. 4. Greatly simplify the implementation of getOptionPred, and make it avoid splitting prefix options at = when that doesn't match a non-prefix option. llvm-svn: 82362
-
Daniel Dunbar authored
llvm-svn: 82360
-
Chris Lattner authored
llvm-svn: 82352
-
Chris Lattner authored
maintain the "null is unspecified, empty is empty" semantics. llvm-svn: 82351
-
Chris Lattner authored
This requires StringRef'izing ProvideOption which I also did. llvm-svn: 82350
-
Chris Lattner authored
llvm-svn: 82348
-
Chris Lattner authored
llvm-svn: 82346
-
Chris Lattner authored
stringref because they may not be nul terminated. For options like -Lfoo this now avoids a O(n) temporary std::strings where N is the length of the string after -L. llvm-svn: 82345
-
Chris Lattner authored
a std::vector and a bunch of std::string temporaries. llvm-svn: 82341
-
Chris Lattner authored
llvm-svn: 82339
-
- Sep 19, 2009
-
-
Chris Lattner authored
a massive number of temporary strings created when parsing a command line. More still left to eliminate. llvm-svn: 82318
-
Benjamin Kramer authored
- Replace std::map<std::string with StringMap - Eliminate unnecessary std::string copies - ~10% speed-up for clang's testsuite on my machine (debug build) llvm-svn: 82312
-
- Sep 03, 2009
-
-
Daniel Dunbar authored
llvm-svn: 80855
-
- Aug 23, 2009
-
-
Chris Lattner authored
llvm-svn: 79857
-
Benjamin Kramer authored
llvm-svn: 79847
-
Chris Lattner authored
llvm-svn: 79842
-
- Aug 02, 2009
-
-
Benjamin Kramer authored
llvm-svn: 77892
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77127
-
- Jul 16, 2009
-
-
Daniel Dunbar authored
llvm-svn: 75889
-
- Jul 14, 2009
-
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
- Jul 11, 2009
-
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
Torok Edwin authored
and abort()/exit() -> llvm_report_error(). llvm-svn: 75363
-
- Apr 30, 2009
-
-
Bill Wendling authored
llvm-svn: 70437
-
- Apr 08, 2009
-
-
Chris Lattner authored
abstraction for CommandLine. llvm-svn: 68588
-
- Apr 01, 2009
-
-
Misha Brukman authored
* Simplified if statement llvm-svn: 68163
-
- Mar 28, 2009
-
-
Chris Lattner authored
llvm-svn: 67892
-
- Feb 02, 2009
-
-
Mike Stump authored
option to make the -fno- form on the option. We also document the new form in the CommandLine documentation. llvm-svn: 63559
-
- Jan 30, 2009
-
-
Mike Stump authored
is necessary for eventual gcc commmand line compatibility. llvm-svn: 63384
-