ahatanak added a comment.

We found another case where the assertion fails.

$ cat test.cpp

  struct S {
    int len;
    int i[];
  };
  
  S value{0, 0};

$ clang++ -std=c++11 -c test.cpp

`CstSize` is only 4 while `VarSize` is 8.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123649/new/

https://reviews.llvm.org/D123649

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to