[clang] [NFC][analyzer] Remove orphaned declaration ExprEngine::getStmt() (PR #185020)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 07:09:30 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang-static-analyzer-1
Author: DonĂ¡t Nagy (NagyDonat)
<details>
<summary>Changes</summary>
Its definition was removed fifteen(!) years ago by commit b1d3d968725baf28a00b12aad760434036cbe704.
---
Full diff: https://github.com/llvm/llvm-project/pull/185020.diff
1 Files Affected:
- (modified) clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h (-2)
``````````diff
diff --git a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
index 40bc96c954267..2ca03174fbdc9 100644
--- a/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
+++ b/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
@@ -221,8 +221,6 @@ class ExprEngine {
return *currBldrCtx;
}
- const Stmt *getStmt() const;
-
const LocationContext *getRootLocationContext() const {
assert(G.getRoot());
return G.getRoot()->getLocation().getLocationContext();
``````````
</details>
https://github.com/llvm/llvm-project/pull/185020
More information about the cfe-commits
mailing list