Daniel Dunbar
|
b834a7b73c
|
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
|
2009-07-22 21:08:31 +00:00 |
|
Daniel Dunbar
|
85f49835c2
|
Add missing include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76655 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-21 21:33:58 +00:00 |
|
Daniel Dunbar
|
7cb6860185
|
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
|
2009-07-21 17:25:46 +00:00 |
|
Daniel Dunbar
|
f5fdf73238
|
Add StringRef::{substr, startswith}.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76559 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-21 09:18:49 +00:00 |
|
Daniel Dunbar
|
4cf95d75c6
|
Add StringRef class, with fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76543 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-07-21 07:28:51 +00:00 |
|