diff options
| author | Nathan Sidwell <nathan@acm.org> | 2022-03-01 08:36:24 -0800 |
|---|---|---|
| committer | Nathan Sidwell <nathan@acm.org> | 2022-03-28 11:19:55 -0700 |
| commit | 1066e397fa907629f0da370f9721821c838ed30a (patch) | |
| tree | fe0c8f680df1ec22eb5643b2703b987f94227780 /mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp | |
| parent | b6dab4ebac595c61ed00c8559307a15fd3b9d077 (diff) | |
[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
Diffstat (limited to 'mlir/lib/Dialect/Vector/Transforms/VectorInsertExtractStridedSliceRewritePatterns.cpp')
0 files changed, 0 insertions, 0 deletions
