[clang-tools-extra] [clang][dataflow]Use cast_or_null instead cast to prevent crash (PR #68510)

Qizhi Hu via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 23:02:49 PDT 2023


jcsxky wrote:

> LGTM, When release notes could be nice (clang-tools-extra/doc/ReleaseNotest.rst) with something like: `Improved bugprone-unchecked-optional-acces check to not crash during handling of optional values` or `to not crash i certain situations` it may also not be so necessary, as this is just very quick fix.

Release notes have been updated according to your suggestion. Thank you for detail guidance!

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


More information about the cfe-commits mailing list