[clang] 91b686d - [NFC][analyzer] Remove orphaned ExprEngine::getStmt() (#185020)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 08:09:08 PST 2026


Author: DonĂ¡t Nagy
Date: 2026-03-06T17:09:03+01:00
New Revision: 91b686dc1e0f27611ee34d0fe67b306db72e98f0

URL: https://github.com/llvm/llvm-project/commit/91b686dc1e0f27611ee34d0fe67b306db72e98f0
DIFF: https://github.com/llvm/llvm-project/commit/91b686dc1e0f27611ee34d0fe67b306db72e98f0.diff

LOG: [NFC][analyzer] Remove orphaned ExprEngine::getStmt() (#185020)

Its definition was removed fifteen(!) years ago by commit
b1d3d968725baf28a00b12aad760434036cbe704.

Added: 
    

Modified: 
    clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h

Removed: 
    


################################################################################
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();


        


More information about the cfe-commits mailing list