[clang] [Clang][CodeGen][CUDA] Add missing null-check assertions in CGCUDARuntime (PR #181167)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 10:00:14 PST 2026


zwuis wrote:

You could use `castAs` which uses `assert` to ensure the result is not null.

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


More information about the cfe-commits mailing list