[clang] [NFC][analyzer] Eliminate NodeBuilder from ExprEngine visit methods and from their utility methods (PR #212186)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 03:52:07 PDT 2026


steakhal wrote:

Allegedly, the following code demonstrates the behavior change:
```c++
  struct S { int a; int arr[10]; };
  int test(int i) {
    int *p = 0;
    unsigned long off = __builtin_offsetof(struct S, arr[i]);  // not constant-foldable
    (void)off;
    return *p;
  }
  clang -cc1 -analyze -analyzer-checker=core -analyzer-output=text repro-a.c
```

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


More information about the cfe-commits mailing list