rjmccall accepted this revision.
rjmccall added a comment.
This revision is now accepted and ready to land.

It wouldn't be a bad idea to track that correspondence in the AST just on the 
general principle that it's useful information (for diagnostics, tooling, etc.) 
that's otherwise hard to recreate.  But I agree that it's also not problematic 
to expect Sema to add them in the proper order, and if we don't have an ABI 
that needs the correspondence directly (e.g. because it wants to emit the 
operators in pairs), it's fine to rely on it.

Putting the operators at the end makes sense to me.  It seems likely that an 
arbitrary implementation is always more likely to need to process the implicit 
members first.

I'm much happier with this implementation; LGTM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72897



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

Reply via email to