[PATCH] D62440: [analyzer] NFC: Change evalCall() to provide a CallEvent.
Aleksei Sidorin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 26 11:13:02 PDT 2019
a_sidorin accepted this revision.
a_sidorin added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:372
CheckerContext &C) const {
- const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE->getCalleeDecl());
+ const auto *FD = dyn_cast_or_null<FunctionDecl>(Call.getDecl());
if (!FD)
----------------
Should we create helpers similar to getDecl() and getOriginExpr (getFunctionDecl/getCallExpr)?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62440/new/
https://reviews.llvm.org/D62440
More information about the cfe-commits
mailing list