[clang] [NFC][analyzer] Spread use of 'Expr*' instead of 'Stmt*' (PR #188319)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 30 02:12:12 PDT 2026


================
@@ -428,15 +428,16 @@ void BlockInvocationContext::Profile(llvm::FoldingSetNodeID &ID) {
 //===----------------------------------------------------------------------===//
 
 const StackFrameContext *LocationContextManager::getStackFrame(
-    AnalysisDeclContext *ctx, const LocationContext *parent, const Stmt *s,
-    const CFGBlock *blk, unsigned blockCount, unsigned idx) {
+    AnalysisDeclContext *Ctx, const LocationContext *Parent, const Expr *E,
+    const CFGBlock *Blk, unsigned BlockCount, unsigned StmtIdx) {
----------------
steakhal wrote:

Same as in my other comment. Shall we call it `ExprIdx` instead?

https://github.com/llvm/llvm-project/pull/188319


More information about the cfe-commits mailing list