[ADT] Adopt the new casting infrastructure for PointerUnion
authorSheng <ox59616e@gmail.com>
Mon, 16 May 2022 10:38:39 +0000 (18:38 +0800)
committerSheng <ox59616e@gmail.com>
Mon, 16 May 2022 10:40:05 +0000 (18:40 +0800)
commitaab5bd180a42f7501a91bcaa5b4906ba7e67ce0e
treef517c3989b978978e0bbc1f559a90c2f13207d6d
parent485dd0b752cd78c93b1c41e922a73c07b565a9f0
[ADT] Adopt the new casting infrastructure for PointerUnion

Reviewed By: lattner, bzcheeseman

Differential Revision: https://reviews.llvm.org/D125609
llvm/include/llvm/ADT/PointerUnion.h
llvm/unittests/ADT/PointerUnionTest.cpp