[libc][obvious] Remove the unused file utils/CPP/StringRef.h.
authorSiva Chandra <sivachandra@google.com>
Wed, 12 Aug 2020 07:54:51 +0000 (00:54 -0700)
committerSiva Chandra <sivachandra@google.com>
Wed, 12 Aug 2020 19:19:11 +0000 (12:19 -0700)
libc/utils/CPP/CMakeLists.txt
libc/utils/CPP/StringRef.h [deleted file]

index 60975fe..e321150 100644 (file)
@@ -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 (file)
index 5ac6925..0000000
+++ /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