[analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription
authorKristóf Umann <dkszelethus@gmail.com>
Fri, 20 Sep 2019 09:01:45 +0000 (11:01 +0200)
committerKristóf Umann <dkszelethus@gmail.com>
Tue, 25 Feb 2020 14:43:33 +0000 (15:43 +0100)
commite5513336aee4a9b10cb98f234145aeb4763fdd69
tree6d0c362e4ee5572197638bfb6b2fa4df8a162ae3
parente09754ccefc8cff7ae5fa18ce73db76339b559f5
[analyzer][MallocChecker][NFC] Change the use of IdentifierInfo* to CallDescription

Exactly what it says on the tin! I decided not to merge this with the patch that
changes all these to a CallDescriptionMap object, so the patch is that much more
trivial.

Differential Revision: https://reviews.llvm.org/D68163
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
clang/test/Analysis/kmalloc-linux.c
clang/test/Analysis/malloc-annotations.cpp [new file with mode: 0644]