From e65512809a4144c17538aac4cc59fac6d325a7e4 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 16 Sep 2009 22:38:48 +0000 Subject: Add StringRef::{rfind, rsplit} git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82087 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/StringRef.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/Support/StringRef.cpp (limited to 'lib/Support/StringRef.cpp') 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; -- cgit v1.2.3-18-g5258