[PATCH] D88477: [analyzer] Overwrite cast type in getBinding only if that was null originally

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 09:04:12 PDT 2020


steakhal added a comment.

In D88477#2300687 <https://reviews.llvm.org/D88477#2300687>, @martong wrote:

>> In this example, it cast to the `unsigned char` (which is the type of the stored value of `**b`, stored at `#1`) instead of the static type of the access (the type of `**b` is  `char`at `#2`).
>
> Possible typo in the summary. At `#2` the type should be `char *` shouldn't it?

Yup, thanks. Updated revision summary accordingly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88477/new/

https://reviews.llvm.org/D88477



More information about the cfe-commits mailing list