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

weiyi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 04:54:01 PDT 2022


wyt updated this revision to Diff 456928.
wyt added a comment.

Minor fixes:

- Update sfinea to check on ostream& and use decltype to get type of the input to be streamed
- Fix build target dependency


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132747

Files:
  llvm/include/llvm/Testing/ADT/StringMap.h
  llvm/include/llvm/Testing/ADT/StringMapEntry.h
  llvm/unittests/Testing/ADT/CMakeLists.txt
  llvm/unittests/Testing/ADT/StringMapTest.cpp
  llvm/unittests/Testing/CMakeLists.txt
  utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
  utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132747.456928.patch
Type: text/x-patch
Size: 6312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/991995e3/attachment.bin>


More information about the llvm-commits mailing list