[PATCH] D98477: [ADT] Add IntrusiveVariant, VariantTraits, and new STLForwardCompat
Scott Linder via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 16 11:34:56 PDT 2021
scott.linder updated this revision to Diff 352493.
scott.linder added a comment.
Add an extra function `makeThunkForSameAlternative` to force old versions of
gcc to deduce the return value of the overloaded "thunk" being instantiated
before deducing the template arguments for make_array.
Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64194
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.352493.patch
Type: text/x-patch
Size: 40935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/ff8c0b79/attachment-0001.bin>
More information about the llvm-commits
mailing list