dyn_cast<> can return nullptr which we would then dereference - use cast<> which will assert that the type is correct.
50 KiB
50 KiB
dyn_cast<> can return nullptr which we would then dereference - use cast<> which will assert that the type is correct.