[PATCH] D75301: [ADT] Allow K to be incomplete during DenseMap<K*, V> instantiation

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 02:08:55 PST 2020


hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

> These correspond to the addresses of -4096 and -8192. Hopefully, such a key is never inserted into a DenseMap.

Maybe we could have an assert somewhere which checks that an empty or tombstone marker is never inserted by the user?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75301





More information about the llvm-commits mailing list