This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

TH3CHARLie created this revision.May 29 2021, 1:40 AM
TH3CHARLie requested review of this revision.May 29 2021, 1:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2021, 1:40 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
NoQ accepted this revision.May 29 2021, 1:18 PM

Amazing, perfect, thanks!

This revision is now accepted and ready to land.May 29 2021, 1:18 PM
TH3CHARLie edited the summary of this revision. (Show Details)May 29 2021, 6:50 PM