[Demangle] replace use of llvm::StringView w/ std::string_view
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 22:43:03 +0000 (15:43 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 14 Apr 2023 22:48:38 +0000 (15:48 -0700)
commit3e559509b426b6aae735a7f57dbdaed1041d2622
treeafb3c545d6a0479f55c26e06686153da3711e44d
parent1c261e360f558a914b9eafb22423f893f5dc54de
[Demangle] replace use of llvm::StringView w/ std::string_view

This refactoring was waiting on converting LLVM to C++17.

Leave StringView.h and cleanup around for subsequent cleanup.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D148384
14 files changed:
lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp
lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
llvm/include/llvm/Demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/MicrosoftDemangle.h
llvm/include/llvm/Demangle/MicrosoftDemangleNodes.h
llvm/include/llvm/Demangle/Utility.h
llvm/lib/Demangle/DLangDemangle.cpp
llvm/lib/Demangle/ItaniumDemangle.cpp
llvm/lib/Demangle/MicrosoftDemangle.cpp
llvm/lib/Demangle/MicrosoftDemangleNodes.cpp
llvm/lib/Demangle/RustDemangle.cpp
llvm/lib/ProfileData/ItaniumManglingCanonicalizer.cpp
llvm/unittests/Demangle/ItaniumDemangleTest.cpp
llvm/unittests/Demangle/OutputBufferTest.cpp