[PATCH] D149649: Update comment.

Jens Massberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 06:27:50 PDT 2023


massberg created this revision.
massberg added a reviewer: ilya-biryukov.
Herald added a project: All.
massberg requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

[class.rel] has been renamed to [class.compare.secondary].


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149649

Files:
  clang/lib/Sema/SemaDeclCXX.cpp


Index: clang/lib/Sema/SemaDeclCXX.cpp
===================================================================
--- clang/lib/Sema/SemaDeclCXX.cpp
+++ clang/lib/Sema/SemaDeclCXX.cpp
@@ -8706,7 +8706,7 @@
     }
   }
 
-  // C++2a [class.eq]p1, [class.rel]p1:
+  // C++2a [class.eq]p1, [class.compare.secondary]p1:
   //   A [defaulted comparison other than <=>] shall have a declared return
   //   type bool.
   if (DCK != DefaultedComparisonKind::ThreeWay &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149649.518700.patch
Type: text/x-patch
Size: 455 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230502/b797c3da/attachment.bin>


More information about the cfe-commits mailing list