[PATCH] D77976: NFC: Clean up the implementation of StringPool a bit, and remove dependence on some "implicitly MallocAllocator" based methods on StringMapEntry. This allows reducing the #includes in StringMapEntry.h.

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 14:25:16 PDT 2020


lattner updated this revision to Diff 256879.
lattner added a comment.

Update the StringSet/Map unit tests to stop using the removed APIs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77976

Files:
  llvm/include/llvm/ADT/StringMap.h
  llvm/include/llvm/ADT/StringMapEntry.h
  llvm/include/llvm/Support/StringPool.h
  llvm/lib/IR/Value.cpp
  llvm/lib/IR/ValueSymbolTable.cpp
  llvm/lib/Support/StringPool.cpp
  llvm/unittests/ADT/StringMapTest.cpp
  llvm/unittests/ADT/StringSetTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77976.256879.patch
Type: text/x-patch
Size: 15192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/cda95e99/attachment.bin>


More information about the llvm-commits mailing list