[PATCH] D132747: [llvm][ADT] Overload output stream operator `<<` for `StringMapEntry` and `StringMap`.

Yitzhak Mandelbaum via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 08:57:38 PDT 2022


ymandel accepted this revision.
ymandel added inline comments.


================
Comment at: llvm/include/llvm/Testing/ADT/StringMap.h:26
+  if (M.empty()) {
+    return OS << "{ }";
+  }
----------------
Is there a standard representation for empty maps and, if so, is this it? 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132747



More information about the llvm-commits mailing list