[all-commits] [llvm/llvm-project] 78cf6c: [NFC][analyzer] Simplify ExprEngine::Visit, elimin...

Donát Nagy via All-commits all-commits at lists.llvm.org
Tue Jun 2 04:10:29 PDT 2026


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

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

  Log Message:
  -----------
  [NFC][analyzer] Simplify ExprEngine::Visit, eliminate NodeBuilders (#200837)

Remove NodeBuilder use from `ExprEngine::Visit` to reduce its size from
700 lines to 600 lines of source code.

This commit also moves the "for instance method operators, make sure the
'this' argument has a valid region" logic (~10 lines) from the huge
`ExprEngine::Visit` to the more specific `VisitCallExpr`; and applies a
few other very minor code quality improvements.



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