Files
clang-p2996/libc/utils/CPP/StringRef.h
Siva Chandra Reddy c6bc10636c [libc] Add a library of standalone C++ utilities.
Some of the existing utils in utils/UnitTest/Test.h have been moved to
this new library.

Reviewers: abrachet, gchatelet

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D73530
2020-01-29 13:44:02 -08:00

20 lines
598 B
C++

//===----------------- A standalone StringRef type -------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "ArrayRef.h"
namespace __llvm_libc {
namespace cpp {
class StringRef : public ArrayRef<char> {
// More methods like those in llvm::StringRef can be added as needed.
};
} // namespace cpp
} // namespace __llvm_libc