summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/StringExtras.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move the implementation of StringRef::split out of StringExtras.cppDuncan Sands2012-02-211-21/+0
| | | | | | and into StringRef.cpp, which is where the other StringRef stuff is. llvm-svn: 151054
* move tier out of an anonymous namespace, it doesn't make senseChris Lattner2011-07-211-5/+4
| | | | | | | | to for it to be an an anon namespace and be in a header. Eliminate some extraenous uses of tie. llvm-svn: 135669
* Fix refacto reported by Nicolas Geoffray.Benjamin Kramer2010-01-181-3/+1
| | | | llvm-svn: 93723
* Remove unused string functions.Benjamin Kramer2010-01-111-12/+0
| | | | llvm-svn: 93183
* Add StrInStrNoCase, a StringRef version of CStrInCStrNoCase.Benjamin Kramer2010-01-111-0/+13
| | | | llvm-svn: 93174
* Turns out llvm-gcc still uses SplitString with a vector. Add it back until IBenjamin Kramer2010-01-111-0/+12
| | | | | | have a fix. llvm-svn: 93163
* Reimplement getToken and SplitString as "StringRef helper functions"Benjamin Kramer2010-01-111-28/+18
| | | | | | | | | - getToken is modeled after StringRef::split but it can split on multiple separator chars and skips leading seperators. - SplitString is a StringRef::split variant for more than 2 elements with the same behaviour as getToken. llvm-svn: 93161
* Distinguish "a," from "a". The first one splits into "a" + "" and the second ↵Rafael Espindola2009-11-131-3/+5
| | | | | | | | one into "a" + 0. llvm-svn: 87084
* Switch to smallvector. Also fix issue with using unsigend for MaxSplit.Rafael Espindola2009-11-131-3/+4
| | | | llvm-svn: 87068
* Add a new split method to StringRef that puts the substrings in a vector.Rafael Espindola2009-11-131-0/+19
| | | | llvm-svn: 87058
* Move UnescapeString to a static function for its sole client; its ↵Daniel Dunbar2009-10-171-30/+0
| | | | | | inefficient and broken. llvm-svn: 84358
* Remove llvm::EscapeString, raw_ostream::write_escaped is much faster.Daniel Dunbar2009-10-171-26/+0
| | | | llvm-svn: 84357
* teach EscapeString and UnescapeString to handle ".Chris Lattner2009-04-151-0/+3
| | | | llvm-svn: 69211
* Fix more -Wshorten-64-to-32 warnings.Evan Cheng2008-05-051-1/+1
| | | | llvm-svn: 50659
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+1
| | | | | | annoying warnings. llvm-svn: 47367
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Escape some escapes that confuse doxygen.Reid Spencer2007-08-051-1/+3
| | | | llvm-svn: 40850
* Add a helper functionChris Lattner2006-11-281-0/+15
| | | | llvm-svn: 31981
* Add two helpers for escaping and unescaping strings.Chris Lattner2006-07-141-0/+50
| | | | llvm-svn: 29151
* Remove trailing whitespaceMisha Brukman2005-04-211-4/+4
| | | | llvm-svn: 21422
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* implement new getToken functionChris Lattner2003-12-291-0/+43
llvm-svn: 10639
OpenPOWER on IntegriCloud