[all-commits] [llvm/llvm-project] 3b9f8f: [analyzer][NFC] Merge `BlockInvocationContext` cla...

tigbr via All-commits all-commits at lists.llvm.org
Mon May 4 04:57:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b9f8f03a0ba3962a58b803bd0d2a9f65ab765e4
      https://github.com/llvm/llvm-project/commit/3b9f8f03a0ba3962a58b803bd0d2a9f65ab765e4
  Author: tigbr <gabor.tothvari at ericsson.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/include/clang/Analysis/AnalysisDeclContext.h
    M clang/lib/Analysis/AnalysisDeclContext.cpp
    M clang/lib/StaticAnalyzer/Core/CallEvent.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
    M clang/lib/StaticAnalyzer/Core/MemRegion.cpp

  Log Message:
  -----------
  [analyzer][NFC] Merge `BlockInvocationContext` class into `StackFrameContext` (#194857)

At the moment, the execution stack in the analyzer is represented with
the `LocationContext` base class and its two sub-classes
`StackFrameContext` and `BlockInvocationContext`. This hierarchy,
however, is more complicated than necessary and, in issue #190973, a
roadmap was created to reduce this hierarchy down to just a single
`StackFrame` class.

This patch implements the first five steps of that roadmap.
Specifically, the functionality of `BlockInvocationContext` was merged
into the `StackFrameContext` class and the `BlockInvocationContext`
class was removed together with its usages.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list