[analyzer][MallocChecker][NFC] Split checkPostCall up, deploy CallDescriptionMap
authorLouis Dionne <ldionne@apple.com>
Thu, 26 Mar 2020 15:04:24 +0000 (11:04 -0400)
committerKirstóf Umann <dkszelethus@gmail.com>
Mon, 30 Mar 2020 14:01:58 +0000 (16:01 +0200)
commit703a1b8caf09a5262a45c2179b8131922f71cf25
treead60243cb60c444a24a01fc114983eb189258090
parent7b00eeb53de06c7979fd2a88436c3387d0492ee8
[analyzer][MallocChecker][NFC] Split checkPostCall up, deploy CallDescriptionMap

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

Differential Revision: https://reviews.llvm.org/D68165
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp