[libcxx-commits] [PATCH] D113244: Simplify the libcxx std::string_view gdb pretty printer
Sterling Augustine via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Nov 19 14:59:05 PST 2021
saugustine added a comment.
The google internal absl::string_view printer included the length prior to the standardization of string_view, and we didn't contribute those pretty printers to libstdc++ when it was standardized, so some of this is simply an old choice that didn't get propagated to libstdc++. The original formatting is useful to see that you are working with a non-null terminated string_view.
What motivates the change? Just compatibility with libstdc++?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113244/new/
https://reviews.llvm.org/D113244
More information about the libcxx-commits
mailing list