From fb250b8295b9f65590017c5b13d6de0b4f4617c1 Mon Sep 17 00:00:00 2001 From: Hristo Hristov Date: Sun, 28 May 2023 11:57:32 +0300 Subject: [PATCH] [clang][c++20][NFC] `ComparisonCategoryType` - updated comment, removed `std:*_equality` `weak_equality` and `strong_equality` are removed from the standard: - https://wg21.link/P1959R0 - https://eel.is/c++draft/cmp.categories.pre Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D151627 --- clang/include/clang/AST/ComparisonCategories.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/AST/ComparisonCategories.h b/clang/include/clang/AST/ComparisonCategories.h index 1c94cee..b4ad37e 100644 --- a/clang/include/clang/AST/ComparisonCategories.h +++ b/clang/include/clang/AST/ComparisonCategories.h @@ -39,9 +39,8 @@ class NamespaceDecl; /// An enumeration representing the different comparison categories /// types. /// -/// C++2a [cmp.categories.pre] The types weak_equality, strong_equality, -/// partial_ordering, weak_ordering, and strong_ordering are collectively -/// termed the comparison category types. +/// C++20 [cmp.categories.pre] The types partial_ordering, weak_ordering, and +/// strong_ordering are collectively termed the comparison category types. enum class ComparisonCategoryType : unsigned char { PartialOrdering, WeakOrdering, -- 2.7.4