[clang] 8715f25 - [clang][StaticAnalyzer] fix function evalCall() typo in CheckerDocumentation (#83677)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 3 23:20:28 PST 2024
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 <miaozhiyuan at 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.
///
More information about the cfe-commits
mailing list