[libcxx-commits] [libcxx] [libc++] Fix gdb pretty printer for strings (PR #176882)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 3 06:06:55 PST 2026


================
@@ -172,6 +172,19 @@ template <typename T> class UncompressibleAllocator : public std::allocator<T> {
   };
 };
 
+// Helper function to check pretty printing of short strings returned by
+// debugger-called functions.
+std::string return_short_string() {
----------------
philnik777 wrote:

No need. The important part is testing more than one character type. 

https://github.com/llvm/llvm-project/pull/176882


More information about the libcxx-commits mailing list