4c5e43da7792f75567b693105cc53e3f1992ad98 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/include/llvm/ADT/StringRef.h
|
ebe69fe11e48d322045d5949c83283927a0d790b |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r230699. Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
/external/llvm/include/llvm/ADT/StringRef.h
|
37ed9c199ca639565f6ce88105f9e39e898d82d0 |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/include/llvm/ADT/StringRef.h
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/ADT/StringRef.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/ADT/StringRef.h
|
f34c3ca3046378bdb7e49b7366bafca0e0bafb9a |
|
30-Oct-2013 |
Rui Ueyama <ruiu@google.com> |
Add {start,end}with_lower methods to StringRef. startswith_lower is ocassionally useful and I think worth adding. endwith_lower is added for completeness. Differential Revision: http://llvm-reviews.chandlerc.com/D2041 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
4a48389b27cafe30a38592b50e0f4b9e97b9d65e |
|
24-Aug-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Added const qualifier to StringRef::edit_distance member function Patch by Ismail Pazarbasi. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
e4a4aecffb25df25736fec328d9147ee43335c2b |
|
07-Aug-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Commit a no-op change to StringRef to (hopefully) trigger build bots. r187874 seems to have been missed by the build bot infrastructure, and the subsequent commits to compiler-rt don't seem to be queuing up new build requsets. Hopefully this will. As it happens, having the space here is the more common formatting. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187879 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
e130dc6cc9ec1423086c37f557ef8854064fef4a |
|
26-Jul-2013 |
Bill Wendling <isanbard@gmail.com> |
Use a non-c'tor for converting a boolean into a StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
fb5b3eaacbc65603b436279300c32512176150fe |
|
26-Jul-2013 |
Bill Wendling <isanbard@gmail.com> |
Add a bool->StringRef c'tor to StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
6afede522e4dfe34c1d42ccc251036596c300203 |
|
08-Jul-2013 |
Manman Ren <mren@apple.com> |
Revert r185852. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
f856249d496663b72b9eac37cdabb52932abd0e0 |
|
08-Jul-2013 |
Manman Ren <mren@apple.com> |
StringRef: add DenseMapInfo for StringRef. Remove the implementation in include/llvm/Support/YAMLTraits.h. Added a DenseMap type DITypeHashMap in DebugInfo.h: DenseMap<std::pair<StringRef, unsigned>, MDNode*> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
a7a05ee70cb07f32996a0587a636b406c746b71b |
|
02-May-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Replaced usages of size_type with size_t to be more consistent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
a45391000ebfcf6193a97f2bb558f5beb845ee65 |
|
01-May-2013 |
Peng Cheng <gm4cheng@gmail.com> |
fix windows warning. warning C4244: 'argument' : conversion from 'uint64_t' to 'const unsigned int', possible loss of data git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
d433902628e8c48059f66ba316a7182460ac4a84 |
|
26-Feb-2013 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
Test commit. Remove trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176111 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
96f498bd9f140a98321c478f517877c4767b94fa |
|
13-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove redundant 'llvm::' qualifications git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
255f89faee13dc491cb64fbeae3c763e7e2ea4e6 |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for the include/... tree with the script. AKA: Recompile *ALL* the source code! This one went much better. No manual edits here. I spot-checked for silliness and grep-checked for really broken edits and everything seemed good. It all still compiles. Yell if you see something that looks goofy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
2d9eb72178af8e79dc6432cd1b7d29bde16da1b9 |
|
13-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix Doxygen issues: * wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
78cab947cf8f81fc3cadbedd90c20fbe6e5eb1ee |
|
10-Aug-2012 |
Joerg Sonnenberger <joerg@bec.de> |
Add some missing includes for the build against stdcxx. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161657 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
b08174c0b1ed7a8c3cacc5df506eb98c79305a4e |
|
12-May-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Add doxygen comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156665 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
b0940b46edbbe9d3f62d7f6f70330fd87f3507e1 |
|
12-May-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
[Support/StringRef] Add find_last_not_of and {r,l,}trim. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
9130b42a85998238b7bbe25ed2989e0605f636f0 |
|
11-Mar-2012 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Make StringRef::getAsInteger work with all integer types. Before this change it would fail with {,u}int64_t on x86-64 Linux. This also removes code duplication. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
528f0bbe19553dfadedca040df13a389daa7593d |
|
04-Mar-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Add generic support for hashing StringRef objects using the new hashing library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
a97a5eabe2a412d7cc078f94b7df7ee8ac840853 |
|
24-Jan-2012 |
Chris Lattner <sabre@nondot.org> |
add ::drop_back() and ::drop_front() methods, which are like pop_front/pop_back on a vector, but a) aren't destructive to "this", and b) can take a # elements to drop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
589fbb1770df5f7bee1c5e24e9e8f4ca5091d528 |
|
06-Nov-2011 |
Daniel Dunbar <daniel@zuster.org> |
ADT/StringRef: Add ::lower() and ::upper() methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143880 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
6d5502eb4966fb2f81fe951d0acf11cfa5cd4acf |
|
20-May-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Add asserts in StringRef to make sure we avoid undefined behavior: -strlen should not be called with NULL. Also guarantee that StringRef's Length is 0 if Data is NULL. -memcmp should not be called with NULL (even if size is 0) Patch by Matthieu Monrocq! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
6765f78efbd9d43f429344af7d997ec2df495b02 |
|
14-May-2011 |
John McCall <rjmccall@apple.com> |
Add an operator+= for appending StringRefs onto std::strings. Previously this pattern would be compiled using an implicit conversion to std::string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131325 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
6cf081cbe5963d6e1b12b0ac1268538a38acd0f1 |
|
28-Apr-2011 |
Lenny Maiorani <lenny@colorado.edu> |
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
437ef0cfb74102208d6e96ff7e7f1204835e66f3 |
|
15-Apr-2011 |
Lenny Maiorani <lenny@colorado.edu> |
Implements StringRef::compare with bounds. It is behaves similarly to strncmp(). Unit tests also included. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129582 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
63c133b67d61b0c457ff46c957aed2b8d90b599c |
|
01-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/ADT/StringRef: Add find_last_of. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
847d2f93ca692fa627a97ba9743bc1e9b8c5cbae |
|
26-Nov-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
StringRefs are POD-like. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
326990f1eb7ff005adabe46a1f982eff8835813e |
|
26-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix Whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
5ee568ac2704d7302017d42ad162d4b53d076cbc |
|
20-Oct-2010 |
Douglas Gregor <dgregor@apple.com> |
Extend StringRef's edit-distance algorithm to permit an upper bound on the allowed edit distance git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
250eb005d91e80b05a61345394bae9e9528151ac |
|
23-Aug-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Avoid O(n*m) complexity in StringRef::find_first(_not)_of(StringRef). - Cache used characters in a bitset to reduce memory overhead to just 32 bytes. - On my core2 this code is faster except when the checked string was very short (smaller than the list of delimiters). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
79ed2c597a134cb4dd5da90199053f322b7d8a2d |
|
23-Aug-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
StringRef tweaks: - Respect find_first_of(char's From parameter instead of silently dropping it. - Prefer std::string() to std::string("") git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
7f7274ce7f3243bd71588c7a75a142c39e5c7e34 |
|
18-Aug-2010 |
Chris Lattner <sabre@nondot.org> |
Don't pass in a null pointer to std::string's ctor, an empty string ref should produce an empty std::string. This fixes PR7879. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111332 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
160a3bf74d1a2b048f65e2162d038ed96eddde01 |
|
26-May-2010 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Add StringRef::compare_numeric and use it to sort TableGen register records. This means that our Registers are now ordered R7, R8, R9, R10, R12, ... Not R1, R10, R11, R12, R2, R3, ... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
fd813bc85027b8e4f8dc42b485b254cff210012d |
|
19-Apr-2010 |
Dan Gohman <gohman@apple.com> |
These functions don't need to access this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101776 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
1e7ad3993d8700488895fa372ecad55443f53485 |
|
28-Feb-2010 |
John McCall <rjmccall@apple.com> |
Add an override to StringRef::getAsInteger which parses into an APInt. It gets its own implementation totally divorced from the (presumably performance-sensitive) routines which parse into a uint64_t. Add APInt::operator|=(uint64_t), which is situationally much better than using a full APInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97381 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
fb76fe09297ee292129e44d723127f2408602a3d |
|
22-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Fix various doxygen warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
af2a8361e4e5b45441b6e73c332fb60c36892468 |
|
13-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
give StringRef a const_iterator member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
3c37bb8dbe886993dcd8f37dec0d94762393f3d4 |
|
07-Jan-2010 |
Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> |
Fix occurrence typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92926 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
441c8b4ad17c0d029b2247c367111395e7ad068c |
|
30-Dec-2009 |
Douglas Gregor <dgregor@apple.com> |
Implement edit distance for StringRef git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
d5b1f8a8426e82990dafc6e3336fefc6635c8fa4 |
|
21-Dec-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Change StringRef::startswith and StringRef::endswith to versions which are a bit more verbose, but optimize to much shorter code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91817 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
1acdcd5b0d0893e6c9a3b7618a7facf9e2d5dec6 |
|
19-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove the now obsolete algorithm include from StringRef.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
2fe05d80d396b6ca0bdc66ec17732b8c514d575e |
|
19-Nov-2009 |
Torok Edwin <edwintorok@gmail.com> |
Workaround PR5482, because all the gcc versions that I had were miscompiling StringRef: 4.2.4, 4.3.4, 4.4.2. The workaround is to use a local min/max implementation that takes an integer param, and not a reference to integer param (like std::min does). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
4c269e2feb230d4380c0b3cd72da517bd2222023 |
|
16-Nov-2009 |
Eric Christopher <echristo@apple.com> |
Fix unused variables warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
24f8e29b4efe70496474c6d43aa6abfa27c21511 |
|
13-Nov-2009 |
Dan Gohman <gohman@apple.com> |
Use .data() instead of .c_str() when nul-termination is not needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
c78c0c99a0fe1703ae72fc51e440aaa8e4e19e91 |
|
13-Nov-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Switch to smallvector. Also fix issue with using unsigend for MaxSplit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
5ccac247263ab62975f3b72421fc783f10ccf5f6 |
|
13-Nov-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a new split method to StringRef that puts the substrings in a vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
89fccca4b01f148a7244f47e5a484cd793a1c30b |
|
12-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
StringRef(const char*) should not be used to turn null pointers into empty strings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87031 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
05872ea804cdc9534960b30d28a391928c61481a |
|
12-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add compare_lower and equals_lower methods to StringRef. Switch all users of StringsEqualNoCase (from StringExtras.h) to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
a8333d3d107df1e0b6bde986ed0532915e154b65 |
|
11-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::split(StringRef), to complement StringRef::split(char). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
64066bd8b593082f622bbc25716938a453363d2f |
|
11-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add From arguments to StringRef search functions, and tweak doxyments. Also, add unittests for find_first_of and find_first_not_of. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
2928c83b010f7cfdb0f819199d806f6942a7d995 |
|
06-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Pass StringRef by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
abc5ac728961cb23b1041a3466fe2eb4521603c3 |
|
23-Oct-2009 |
Eric Christopher <echristo@apple.com> |
size_t, not unsigned here to silence a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
835b142edd2a3da6d0b7a4e47d50408953a49db4 |
|
01-Oct-2009 |
Dan Gohman <gohman@apple.com> |
Don't use identifiers that start with an underscore followed by a capital letter, which invokes undefined behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83206 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
1e9a727f1058c9e8f90eae9ac656214265244f7f |
|
29-Sep-2009 |
Devang Patel <dpatel@apple.com> |
Create empty StringRef is incoming cstring is NULL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83082 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
c936fe8cb356931f23e6f17ce1bd5789eeae1ecb |
|
21-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
write rfind in terms of npos as daniel requested git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
05a32c8ab118d9c92dc9b4ecaa7a6fed67241215 |
|
20-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
move a couple non-trivial methods out of line, add new find_first_of/find_first_of methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82347 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
db513bc0963fbf372f898f8b94fc13994663c0c6 |
|
20-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
add size_t and a version of rfind that allows specification of where to scan from. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
63c6b7dc67f0061340c0701f3d5b1de142f58cec |
|
20-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
add some more overloads of StringRef::getAsInteger for common and useful integer types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82338 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
cea1438cf59c7cd3a632d61d78e68589315510d3 |
|
19-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
provide a "strtoull" operation that works on StringRef's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
e65512809a4144c17538aac4cc59fac6d325a7e4 |
|
17-Sep-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::{rfind, rsplit} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
323a3e653340781bad4c4c3245d9b25d5ab02685 |
|
18-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Fix pasto in StringRef::count(char) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
5caba3bcb14fae4b36924463ed2bcf3846f029a9 |
|
18-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::count({char,StringRef}) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
ac55b85438da378bab227fd34167bb0c4a9249aa |
|
13-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::front (with some small tweaks while I was in the area). - Patch by Erick Tryzelaar git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78883 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
0ad7f9bb2f806387e53ffeaf6a564b9a80b962af |
|
11-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
StringRef: Add find(char) and find(StringRef). Also, regroup functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
e36df3fd31a08a41d9ad04fcba182b616b030c9c |
|
10-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
add a simple back() method to StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
c9af366fc39d657b7d416d16988265d86a641184 |
|
05-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::endswith git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
7e763ebd982e199224a2d2e0cc802d09d2822b34 |
|
26-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
Use the RHS length instead of the LHS length. They are both the same, but this ends up compiling code like this: int foo(const StringRef &R) { return R == "food"; } to use a constant sized memcmp instead of a variable memcmp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
d61918fc6898a89df8b0a03e068f234ded010cdf |
|
26-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::{slice, split}, two convenient string operations which are simple and efficient on a StringRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
b834a7b73ce0dcf8fbf8d8b0d62f69e4b78059ad |
|
22-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Define npos in a way that should make MSVC happier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
85f49835c288b0107cb4020d4e59e491c146973d |
|
21-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add missing include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
7cb6860185187c74a1205deebff9e0f09a0ddae4 |
|
21-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Move StringRef comparison operators out of class. Also, tweak the return type of size(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
f5fdf73238dfd923f33bcbbd397cff6752d9c41e |
|
21-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef::{substr, startswith}. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76559 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|
4cf95d75c65f37677d306952b0d2306bc6d20b1f |
|
21-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add StringRef class, with fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringRef.h
|