[PATCH] D125609: [ADT] Adopt the new casting infrastructure for PointerUnion

Sheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 14 19:52:04 PDT 2022


0x59616e updated this revision to Diff 429505.
0x59616e added a comment.

Didn't notice the build failure. Remove the `CastInfoPointerUnionImpl` and revert
back to the original implementation.

Is there any way for CastInfo to directly access `PointerUnion::Val`, which is
a protected member ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125609

Files:
  llvm/include/llvm/ADT/PointerUnion.h
  llvm/unittests/ADT/PointerUnionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125609.429505.patch
Type: text/x-patch
Size: 6358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/0e4fa4b3/attachment.bin>


More information about the llvm-commits mailing list