[PATCH] D98477: [ADT] Add IntrusiveVariant, VariantTraits, and new STLForwardCompat
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 17:08:10 PDT 2021
scott.linder updated this revision to Diff 349999.
scott.linder edited the summary of this revision.
scott.linder added a comment.
- Clean up, rename, and document the VariantTraits interfaces
- Expose IntrusiveVariant::index() as it is already available through the traits
- Fix a bug in IntrusiveVariant comparison functions
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98477/new/
https://reviews.llvm.org/D98477
Files:
llvm/include/llvm/ADT/IntrusiveVariant.h
llvm/include/llvm/ADT/STLForwardCompat.h
llvm/include/llvm/ADT/VariantTraits.h
llvm/unittests/ADT/CMakeLists.txt
llvm/unittests/ADT/IntrusiveVariantTest.cpp
llvm/unittests/ADT/STLForwardCompatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98477.349999.patch
Type: text/x-patch
Size: 40776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210605/6df6c027/attachment.bin>
More information about the llvm-commits
mailing list