vitalybuka wrote:

As we discussed offline, it would nice to handle cases like this
```
struct Foo {
    int x; // we should try to make sure X is initialized.
    char buff[1024];  // this one is fine to skip
};

void main() {
   Foo foo;
}
```

But seems moving size check deeper does not help. If so, simpler patch is 
preferred.

https://github.com/llvm/llvm-project/pull/74777
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to