source: https://bugs.llvm.org/show_bug.cgi?id=50214
Make sizeof pointer type compatible with void* in MallocSizeofChecker.
Paths
| Differential D103358
[analyzer] MallocSizeof: sizeof pointer type is compatible with void* ClosedPublic Authored by TH3CHARLie on May 29 2021, 1:40 AM.
Details Summary source: https://bugs.llvm.org/show_bug.cgi?id=50214 Make sizeof pointer type compatible with void* in MallocSizeofChecker.
Diff Detail
Event TimelineHerald added subscribers: manas, steakhal, ASDenysPetrov and 9 others. · View Herald TranscriptMay 29 2021, 1:40 AM This revision is now accepted and ready to land.May 29 2021, 1:18 PM Closed by commit rG620cef91207b: [analyzer] MallocSizeof: sizeof pointer type is compatible with void* (authored by TH3CHARLie). · Explain WhyMay 29 2021, 6:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 348670 clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
clang/test/Analysis/malloc-sizeof.c
|