shafik added a comment.

So we are only checking global constructors b/c it is valid in a constant 
expression context to initialize a record and not initialize all their fields 
as long as we don't use any of those fields.

Note, cases that stem from this has been discussed as part of 
https://github.com/cplusplus/papers/issues/1380 but the issue is not resolved 
yet.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140723

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

Reply via email to