[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:04 PST 2024
https://github.com/mzyKi created https://github.com/llvm/llvm-project/pull/83677
```bool evalCall(const CallEvent &Call, CheckerContext &C)``` is corret form.
>From 9779c43a8e603efdf93344780702de1ff343a676 Mon Sep 17 00:00:00 2001
From: miaozhiyuan <miaozhiyuan at feysh.com>
Date: Sat, 2 Mar 2024 23:16:58 +0800
Subject: [PATCH] [clang][StaticAnalyzer] fix function evalCall() typo in
CheckerDocumentation
---
clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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