Author: Hristo Hristov Date: 2023-05-28T22:25:16+03:00 New Revision: fb250b8295b9f65590017c5b13d6de0b4f4617c1
URL: https://github.com/llvm/llvm-project/commit/fb250b8295b9f65590017c5b13d6de0b4f4617c1 DIFF: https://github.com/llvm/llvm-project/commit/fb250b8295b9f65590017c5b13d6de0b4f4617c1.diff LOG: [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 Added: Modified: clang/include/clang/AST/ComparisonCategories.h Removed: ################################################################################ diff --git a/clang/include/clang/AST/ComparisonCategories.h b/clang/include/clang/AST/ComparisonCategories.h index 1c94cee4b7c4..b4ad37e394ce 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 diff erent 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, _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits