Skip to content

Commit 217709c

Browse files
remove Demangle/StringView.h
Now that we've converted libcxxabi and llvm Demangle to use std::string_view, this code no longer has any users. Bye bye! Reviewed By: #libc_abi, phosek, MaskRay Differential Revision: https://reviews.llvm.org/D148387
1 parent 2e1ec4c commit 217709c

File tree

6 files changed

+1
-260
lines changed

6 files changed

+1
-260
lines changed

clang/docs/tools/clang-formatted-files.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,6 @@ libc/src/__support/CPP/Bit.h
31023102
libc/src/__support/CPP/Bitset.h
31033103
libc/src/__support/CPP/Functional.h
31043104
libc/src/__support/CPP/Limits.h
3105-
libc/src/__support/CPP/StringView.h
31063105
libc/src/__support/CPP/Utility.h
31073106
libc/src/__support/CPP/vector.h
31083107
libc/src/__support/File/file.cpp
@@ -3451,7 +3450,6 @@ libcxx/src/ryu/d2fixed.cpp
34513450
libcxx/src/ryu/d2s.cpp
34523451
libcxx/src/ryu/f2s.cpp
34533452
libcxxabi/src/cxa_guard_impl.h
3454-
libcxxabi/src/demangle/StringView.h
34553453
libcxxabi/src/demangle/Utility.h
34563454
libunwind/src/cet_unwind.h
34573455
lld/COFF/CallGraphSort.cpp
@@ -5250,7 +5248,6 @@ llvm/include/llvm/Debuginfod/Debuginfod.h
52505248
llvm/include/llvm/Debuginfod/DIFetcher.h
52515249
llvm/include/llvm/Debuginfod/HTTPClient.h
52525250
llvm/include/llvm/Demangle/Demangle.h
5253-
llvm/include/llvm/Demangle/StringView.h
52545251
llvm/include/llvm/Demangle/StringViewExtras.h
52555252
llvm/include/llvm/Demangle/Utility.h
52565253
llvm/include/llvm/DWARFLinker/DWARFLinker.h

libcxxabi/src/demangle/StringView.h

Lines changed: 0 additions & 109 deletions
This file was deleted.

libcxxabi/src/demangle/cp-to-llvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -e
77

88
cd $(dirname $0)
9-
HDRS="ItaniumDemangle.h ItaniumNodes.def StringView.h StringViewExtras.h Utility.h"
9+
HDRS="ItaniumDemangle.h ItaniumNodes.def StringViewExtras.h Utility.h"
1010
LLVM_DEMANGLE_DIR=$1
1111

1212
if [[ -z "$LLVM_DEMANGLE_DIR" ]]; then

llvm/include/llvm/Demangle/StringView.h

Lines changed: 0 additions & 98 deletions
This file was deleted.

llvm/unittests/Demangle/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ add_llvm_unittest(DemangleTests
1010
OutputBufferTest.cpp
1111
PartialDemangleTest.cpp
1212
RustDemangleTest.cpp
13-
StringViewTest.cpp
1413
)

llvm/unittests/Demangle/StringViewTest.cpp

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)