[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 23:03:24 PDT 2022


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

update diff

- define our own `castFailed` in the hope of fixing the build failure of clang.
- add static_assert for type check


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.429515.patch
Type: text/x-patch
Size: 9800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220515/b85447c1/attachment.bin>


More information about the llvm-commits mailing list