[libc-commits] [libc] 578ac8b - [libc][obvious] Remove the unused file utils/CPP/StringRef.h.
Siva Chandra via libc-commits
libc-commits at lists.llvm.org
Wed Aug 12 12:20:26 PDT 2020
Author: Siva Chandra
Date: 2020-08-12T12:19:11-07:00
New Revision: 578ac8bfa5e9595f7f4c40dc75e3925d28d91c78
URL: https://github.com/llvm/llvm-project/commit/578ac8bfa5e9595f7f4c40dc75e3925d28d91c78
DIFF: https://github.com/llvm/llvm-project/commit/578ac8bfa5e9595f7f4c40dc75e3925d28d91c78.diff
LOG: [libc][obvious] Remove the unused file utils/CPP/StringRef.h.
Added:
Modified:
libc/utils/CPP/CMakeLists.txt
Removed:
libc/utils/CPP/StringRef.h
################################################################################
diff --git a/libc/utils/CPP/CMakeLists.txt b/libc/utils/CPP/CMakeLists.txt
index 60975feabeb4..e321150a7f49 100644
--- a/libc/utils/CPP/CMakeLists.txt
+++ b/libc/utils/CPP/CMakeLists.txt
@@ -5,6 +5,5 @@ add_header_library(
ArrayRef.h
Bitset.h
Functional.h
- StringRef.h
TypeTraits.h
)
diff --git a/libc/utils/CPP/StringRef.h b/libc/utils/CPP/StringRef.h
deleted file mode 100644
index 5ac6925dbab1..000000000000
--- a/libc/utils/CPP/StringRef.h
+++ /dev/null
@@ -1,24 +0,0 @@
-//===-- 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
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_LIBC_UTILS_CPP_STRINGREF_H
-#define LLVM_LIBC_UTILS_CPP_STRINGREF_H
-
-#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
-
-#endif // LLVM_LIBC_UTILS_CPP_STRINGREF_H
More information about the libc-commits
mailing list