[PATCH] D99561: Support visitor pattern by PointerUnion.
Bakhtiyar Neyman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 2 00:31:49 PDT 2021
bakhtiyarneyman updated this revision to Diff 334911.
bakhtiyarneyman added a comment.
Aligned the calling convention of visit to match that of std::visit. Renamed the more convenient version of visit to match to have the best of the two worlds: better ergonomics and not clashing with std::visit. This time for real.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99561/new/
https://reviews.llvm.org/D99561
Files:
llvm/include/llvm/ADT/PointerUnion.h
llvm/unittests/ADT/PointerUnionTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99561.334911.patch
Type: text/x-patch
Size: 5836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210402/9c5b9554/attachment.bin>
More information about the llvm-commits
mailing list