aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Option/Arg.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-12-18Convert Arg, ArgList, and Option to dump() to dbgs() rather than errs().Eric Christopher1-9/+12
Also add print() functions. Patch by Justin Lebar! llvm-svn: 256010
2015-12-18Revert "[Option] Introduce Arg::print(raw_ostream&) and use llvm::dbgs"Vedant Kumar1-12/+9
This reverts commit r255977. This is part of http://reviews.llvm.org/D15634. llvm-svn: 255978
2015-12-18[Option] Introduce Arg::print(raw_ostream&) and use llvm::dbgsVedant Kumar1-9/+12
llvm-svn: 255977
2015-03-16Fix uses of reserved identifiers starting with an underscore followed by an ↵David Blaikie1-13/+12
uppercase letter This covers essentially all of llvm's headers and libs. One or two weird cases I wasn't sure were worth/appropriate to fix. llvm-svn: 232394
2015-02-17Prefer SmallVector::append/insert over push_back loops.Benjamin Kramer1-8/+4
Same functionality, but hoists the vector growth out of the loop. llvm-svn: 229500
2014-06-26Revert "Introduce a string_ostream string builder facilty"Alp Toker1-2/+4
Temporarily back out commits r211749, r211752 and r211754. llvm-svn: 211814
2014-06-26Introduce a string_ostream string builder faciltyAlp Toker1-4/+2
string_ostream is a safe and efficient string builder that combines opaque stack storage with a built-in ostream interface. small_string_ostream<bytes> additionally permits an explicit stack storage size other than the default 128 bytes to be provided. Beyond that, storage is transferred to the heap. This convenient class can be used in most places an std::string+raw_string_ostream pair or SmallString<>+raw_svector_ostream pair would previously have been used, in order to guarantee consistent access without byte truncation. The patch also converts much of LLVM to use the new facility. These changes include several probable bug fixes for truncated output, a programming error that's no longer possible with the new interface. llvm-svn: 211749
2013-01-02Resort the #include lines in include/... and lib/... with theChandler Carruth1-1/+0
utils/sort_includes.py script. Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes. llvm-svn: 171362
2012-12-05Copy clang/Driver/<Option parsing stuff> to llvm.Michael J. Spencer1-0/+123
llvm-svn: 169344