diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2023-04-14 15:43:03 -0700 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2023-04-14 15:48:38 -0700 |
commit | 3e559509b426b6aae735a7f57dbdaed1041d2622 (patch) | |
tree | afb3c545d6a0479f55c26e06686153da3711e44d /llvm/lib/Demangle/ItaniumDemangle.cpp | |
parent | 1c261e360f558a914b9eafb22423f893f5dc54de (diff) | |
download | llvm-3e559509b426b6aae735a7f57dbdaed1041d2622.zip llvm-3e559509b426b6aae735a7f57dbdaed1041d2622.tar.gz llvm-3e559509b426b6aae735a7f57dbdaed1041d2622.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r-- | llvm/lib/Demangle/ItaniumDemangle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp index 9b646ea..4bc00c5 100644 --- a/llvm/lib/Demangle/ItaniumDemangle.cpp +++ b/llvm/lib/Demangle/ItaniumDemangle.cpp @@ -78,7 +78,7 @@ struct DumpVisitor { } void printStr(const char *S) { fprintf(stderr, "%s", S); } - void print(StringView SV) { + void print(std::string_view SV) { fprintf(stderr, "\"%.*s\"", (int)SV.size(), SV.begin()); } void print(const Node *N) { |