[PATCH] D72035: [analyzer][NFC] Use CallEvent checker callback in GenericTaintChecker
Balázs Benics via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 20 08:05:23 PDT 2020
steakhal marked 2 inline comments as done.
steakhal added inline comments.
================
Comment at: clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:113
const CheckerContext &C) {
- const FunctionDecl *FDecl = C.getCalleeDecl(CE);
+ assert(Call.getDecl());
+ const FunctionDecl *FDecl = Call.getDecl()->getAsFunction();
----------------
NoQ wrote:
> rG878194414107e94600de31a11be09a347fb2598b!
Nice catch! Thank you for the fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72035/new/
https://reviews.llvm.org/D72035
More information about the cfe-commits
mailing list