Michael137 wrote:

Ah got it, thanks for clarifying.

> so we could instead just check if the field is empty.

Couldn't find an existing API for this on `FieldDecl`. Here "empty" would be 
"field is of a type which is empty"? Which might still cause complications 
because a `CXXRecordDecl::isEmpty` itself depends on `isZeroSize` of its fields.

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

Reply via email to