-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Description
I have identified the following incompatible function declarations when browsing the CheckerDocumentation.cpp, while the functions are accually used in Checker.h.
-
evalCall
declared in CheckerDocumentation.cpp:bool evalCall(const CallExpr *CE, CheckerContext &C)
used in Checker.h:bool evalCall(const CallEvent &Call, CheckerContext &C)
-
checkNewAllocator
declared in CheckerDocumentation.cpp:void checkNewAllocator(const CXXNewExpr *NE, SVal Target, CheckerContext &)
used in Checker.h:void checkNewAllocator(const CXXAllocatorCall &Call, CheckerContext &C)
And then there is a check point added in Checker.h but lost in the CheckerDocumentation.cpp:
- ASTCodeBody
void checkASTCodeBody(const Decl *D, AnalysisManager& mgr, BugReporter &BR)
These changes in Checker.h had better reflect in the CheckerDocumentation.cpp because newcomers like me will view it. This issue may belong to clang:static analyzer
and documentation
I guess.
Thanks :)