[clang] [CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (PR #122653)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 00:41:13 PST 2025


nikic wrote:

> Literal migration would result in dyn_cast_if_present (see the definition of PointerUnion::dyn_cast), but this patch uses dyn_cast because we expect Prototype.P to be nonnull.

This comment doesn't seem to match the PR :)

https://github.com/llvm/llvm-project/pull/122653


More information about the cfe-commits mailing list