[clang] [clang][StaticAnalyzer] fix function evalCall() typo in CheckerDocumentation (PR #83677)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 2 07:21:32 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Exile (mzyKi)
<details>
<summary>Changes</summary>
```bool evalCall(const CallEvent &Call, CheckerContext &C)``` is corret form.
---
Full diff: https://github.com/llvm/llvm-project/pull/83677.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp (+1-1)
``````````diff
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.
///
``````````
</details>
https://github.com/llvm/llvm-project/pull/83677
More information about the cfe-commits
mailing list