[clang] [analyzer] Fix false positive in strchr/strrchr with constant args (PR #210154)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 23 08:51:36 PDT 2026


earnol wrote:

I agree your example is highly unusual and the code like this looks like a bug for multiple reasons, yet this is not a reason to crash. It will also make sense to add more complex typecasts cases.

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


More information about the cfe-commits mailing list