Author: Exile Date: 2024-03-04T15:20:24+08:00 New Revision: 8715f256911786520bb727ce067098d7082ac45c
URL: https://github.com/llvm/llvm-project/commit/8715f256911786520bb727ce067098d7082ac45c DIFF: https://github.com/llvm/llvm-project/commit/8715f256911786520bb727ce067098d7082ac45c.diff LOG: [clang][StaticAnalyzer] fix function evalCall() typo in CheckerDocumentation (#83677) ```bool evalCall(const CallEvent &Call, CheckerContext &C)``` is corret form. Co-authored-by: miaozhiyuan <miaozhiy...@feysh.com> Added: Modified: clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp Removed: ################################################################################ diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp index 3e5e2b9139149d..0ca0c487b64550 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp @@ -226,7 +226,7 @@ class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>, /// first one wins. /// /// eval::Call - bool evalCall(const CallExpr *CE, CheckerContext &C) const { return true; } + bool evalCall(const CallEvent &Call, CheckerContext &C) const { return true; } /// Handles assumptions on symbolic values. /// _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits