[PATCH] D159412: [analyzer]FieldRegion in getStaticSize should return size of pointee type

Qizhi Hu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 4 21:50:52 PDT 2023


jcsxky added a comment.

In D159412#4636813 <https://reviews.llvm.org/D159412#4636813>, @donat.nagy wrote:

> Please add a testcase that demonstrates this issue (fails when your change in MemRegion.cpp isn't added) and shows that your commit fixes it.

Thanks for your advice.  We use this api in our own project and miss some cases which leads the incorrect result. I will abandon this patch later.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159412



More information about the cfe-commits mailing list