================ @@ -1454,6 +1567,12 @@ static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, QualType Owner2Type) { const auto *Owner2 = cast<Decl>(Field2->getDeclContext()); + // In C23 mode, check for structural equivalence of attributes on the fields. + // FIXME: Should this happen in C++ as well? ---------------- AaronBallman wrote:
Yes, we get here in C++ for ODR checking. https://github.com/llvm/llvm-project/pull/132939 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits