[clang] [analyzer] Regularize conjured sym for return area of entrypoint (PR #244444)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 03:03:56 PST 2026


================
@@ -1239,3 +1240,32 @@ void test() {
 }
 } // namespace arguments_of_operators
 #endif // __cplusplus >= 201103L
+
+namespace stack_frame_of_return_from_top {
+struct Obj {
+  int *p;
+  Obj() { p = new int; }
+  Obj(Obj &&s) : p(s.p) {
+    s.p = 0;
+    clang_analyzer_dump(this);
----------------
steakhal wrote:

```suggestion
    clang_analyzer_dump(this); // Note: We match LC3 - see later.
```

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


More information about the cfe-commits mailing list