cor3ntin added a comment.

This makes sense to me as is. The check 
`ClassDecl->hasTrivialDefaultConstructor() && 
!ClassDecl->hasNonTrivialDefaultConstructor()` can only be different from 
status quo in C++20.
Changing `isTrivial` would be a lot more involved change that should not be in 
scope of this PR


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143891

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

Reply via email to