diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-09-16 22:38:48 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-09-16 22:38:48 +0000 |
commit | e65512809a4144c17538aac4cc59fac6d325a7e4 (patch) | |
tree | be1cc374a08ca577ef4144eb7065872af199c499 /lib/Support/StringRef.cpp | |
parent | 358f1ef765ba1b385795e03c80fdd4cbd924d010 (diff) |
Add StringRef::{rfind, rsplit}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringRef.cpp')
-rw-r--r-- | lib/Support/StringRef.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Support/StringRef.cpp b/lib/Support/StringRef.cpp new file mode 100644 index 0000000000..4751f06645 --- /dev/null +++ b/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; |