[PATCH] D45680: [C++2a] Add operator<=> Rewriting - Early Attempt

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 16 05:40:28 PDT 2018


EricWF planned changes to this revision.
EricWF added a comment.

I know how to do better.



================
Comment at: include/clang/Sema/Overload.h:938
+    /// exited.
+    struct RewrittenCandidateContextGuard {
+      RewrittenCandidateContextGuard(OverloadCandidateSet &CS)
----------------
This is unneeded. As long as the rewritten candidates are added last, restoring the `Functions` member is unneeded. 


Repository:
  rC Clang

https://reviews.llvm.org/D45680





More information about the cfe-commits mailing list