Files
clang-p2996/clang/lib/CodeGen/CGHLSLRuntime.cpp
Aaron Ballman d3fd7921d4 Clarify some code based on static analysis complaints; NFC (#145679)
In one case, we have a null pointer check that's unnecessary because the
only caller of the function already asserts the value is non-null.

In the other case, we've got an anti-pattern of `is` followed by `get`.
The logic was easier to repair by changing `get` to `cast`.

Neither case is a functional change.

Fixes #145525
2025-06-26 06:55:48 -04:00

26 KiB