[all-commits] [llvm/llvm-project] 09939a: [NFC][analyzer] Remove the NodeBuilder from eagerl...

Donát Nagy via All-commits all-commits at lists.llvm.org
Wed Jun 24 05:53:37 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09939ace888b407dc984a7fc6c980fd6064a75c1
      https://github.com/llvm/llvm-project/commit/09939ace888b407dc984a7fc6c980fd6064a75c1
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

  Log Message:
  -----------
  [NFC][analyzer] Remove the NodeBuilder from eagerly assume (#204371)

Part of my commit series to gradually eliminate the class `NodeBuilder`.
Admittedly this is one of the few places where the implementation with
the `NodeBuilder` is more concise than the new code.

This is caused by two factors:
1. This is an optional step in the analysis, so the "put source nodes in
destination unless we generate a child node from them" behavior of
`NodeBuilder` -- which is often completely useless -- was helpful on two
branches.
2. Making nodes with tags is very rare, so I intentionally did not
include support for tagging in `makeNodeWithBinding` -- but this is one
of the few places where tags are applied.



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