ZarkoCA added inline comments.
================ Comment at: clang/lib/Sema/SemaDeclCXX.cpp:9176 // Don't check the implicit member of the anonymous union type. - // This is technically non-conformant, but sanity demands it. + // This is technically non-conformant, but validation tests demand it. return false; ---------------- Quuxplusone wrote: > Quuxplusone wrote: > > Quuxplusone wrote: > > > This comment seems incorrectly translated. > > This comment //still// seems incorrectly translated. > > Things we do "for sanity's sake" aren't necessarily //required//, > > technically; but we're doing them anyway, for sanity. > "Don't check ... but check it anyway"? Right, that didn't make sense :). I noticed that there were warnings for this case in SemaDecl.cpp AFAIU so edited the comment to state that. Should be better now? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D114025/new/ https://reviews.llvm.org/D114025 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits