================
@@ -112,3 +112,105 @@ void inlined_callee_single_report() {
// expected-note@-1 {{Calling 'deref_param'}}
(void)r;
}
+
+struct MyBuffer {
+ char buffer[8];
+};
+struct MyStruct { int x; };
+struct Inner { int x; };
+struct Outer { struct Inner inner; };
----------------
isuckatcs wrote:
```suggestion
struct Outer { Inner inner; };
```
I'm not sure if we should spell out `struct` in C++ (this applies to every
other place in this test file as well).
Also, what if `Inner` is declared inside `Outer`?
```c++
struct Outer {
struct Inner {};
};
```
https://github.com/llvm/llvm-project/pull/211552
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits