aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-16 22:38:48 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-16 22:38:48 +0000
commit4498168753db4b73ce4424635919fed4d128f504 (patch)
tree254aa54001f627aa2bd69fcd2c689db560155245 /llvm/lib/Support/StringRef.cpp
parent8addadc6911f6d3c07e624147a23f9ce30ebc49f (diff)
downloadllvm-4498168753db4b73ce4424635919fed4d128f504.zip
llvm-4498168753db4b73ce4424635919fed4d128f504.tar.gz
llvm-4498168753db4b73ce4424635919fed4d128f504.tar.bz2
Add StringRef::{rfind, rsplit}
llvm-svn: 82087
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
-rw-r--r--llvm/lib/Support/StringRef.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/lib/Support/StringRef.cpp b/llvm/lib/Support/StringRef.cpp
new file mode 100644
index 0000000..4751f06
--- /dev/null
+++ b/llvm/lib/Support/StringRef.cpp
@@ -0,0 +1,13 @@
+//===-- StringRef.cpp - Lightweight String References ---------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/ADT/StringRef.h"
+using namespace llvm;
+
+const size_t StringRef::npos;