llvm-project/llvm/unittests/Demangle
Nathan Sidwell 1066e397fa [demangler] Add StringView conversion operator
The OutputBuffer class tries to present a NUL-terminated string API to
consumers.  But several of them would prefer a StringView.  In
particular the Microsoft demangler, juggles between NUL-terminated and
StringView, which is confusing.

This adds a StringView conversion, and adjusts the Demanglers that can
benefit from that.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D120990
2022-03-28 11:19:55 -07:00
..
CMakeLists.txt [Demangle] Add minimal support for D programming language 2021-11-09 09:29:13 -08:00
DLangDemangleTest.cpp [Demangle] Add support for D types back referencing 2022-01-12 21:57:31 +00:00
DemangleTest.cpp [Demangle] Add minimal support for D programming language 2021-11-09 09:29:13 -08:00
ItaniumDemangleTest.cpp [demangler] Add StringView conversion operator 2022-03-28 11:19:55 -07:00
OutputBufferTest.cpp [demangler] Add StringView conversion operator 2022-03-28 11:19:55 -07:00
PartialDemangleTest.cpp
RustDemangleTest.cpp [demangler] Initial support for the new Rust mangling scheme 2021-05-03 16:44:30 -07:00
StringViewTest.cpp