[PATCH] D143976: [ADT] Add lookupOrTrap method to DenseMap

Xiangxi Guo (Ryan) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 21:49:47 PST 2023


StrongerXi updated this revision to Diff 497201.
StrongerXi added a comment.

1. Use assert and fixed error message
2. Add the same method and unittests to StringMap


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143976

Files:
  llvm/include/llvm/ADT/DenseMap.h
  llvm/include/llvm/ADT/StringMap.h
  llvm/unittests/ADT/DenseMapTest.cpp
  llvm/unittests/ADT/StringMapTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143976.497201.patch
Type: text/x-patch
Size: 3737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/0f41bd7f/attachment.bin>


More information about the llvm-commits mailing list