[Lldb-commits] [PATCH] D77843: [lldb/DataFormatters] Delete GetStringPrinterEscapingHelper

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 13 12:28:57 PDT 2020


aprantl added inline comments.


================
Comment at: lldb/source/DataFormatters/StringPrinter.cpp:126
   case 0:
-    retval = {"\\0", 2};
-    break;
+    return {"\\0", 2};
   case '\a':
----------------
We have a lot of implementations of this function all over our projects (`git grep '\\\\r' llvm/lib`) that we might want to factor this into a support function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77843/new/

https://reviews.llvm.org/D77843





More information about the lldb-commits mailing list