[PATCH] D68165: [analyzer][MallocChecker][NFC] Split checkPostCall up, deploy CallDescriptionMap

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 27 15:22:48 PDT 2019


Szelethus created this revision.
Szelethus added reviewers: NoQ, xazax.hun, rnkovacs, Charusso, baloghadamsoftware, dcoughlin.
Szelethus added a project: clang.
Herald added subscribers: cfe-commits, gamesh411, dkrupp, donat.nagy, mikhail.ramalho, a.sidorin, szepet, whisperity.
Szelethus added a parent revision: D68163: [analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription.

Since its important to know whether a function frees memory (even if its a reallocating function!), I used two `CallDescriptionMap`s to merge all `CallDescription`s into it. `MemFunctionInfoTy` no longer makes sense, it may never have, but for now, it would be more of a distraction then anything else.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D68165

Files:
  clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68165.222257.patch
Type: text/x-patch
Size: 29466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190927/9dc9eeaa/attachment-0001.bin>


More information about the cfe-commits mailing list