================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits