================
@@ -4505,6 +4505,14 @@ bool FieldDecl::isZeroSize(const ASTContext &Ctx) const {
   if (!CXXRD->isEmpty())
     return false;
 
+  // MS ABI: nonzero if class type with class type fields
----------------
erichkeane wrote:

Does any differentiation need to be made between the spellings on 4489?  
Additionally, can you elaborate on the comment here?  How can we look at the 
fields of `CXXRD` if it is empty?  

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

Reply via email to