================ @@ -2059,6 +2059,9 @@ The following type trait primitives are supported by Clang. Those traits marked - `__builtin_lt_synthesizes_from_spaceship`, `__builtin_gt_synthesizes_from_spaceship`, `__builtin_le_synthesizes_from_spaceship`, `__builtin_ge_synthesizes_from_spaceship` (Clang): These builtins can be used to determine whether the corresponding operator is synthesized from a spaceship operator. +- `__builtin_type_order` (C++): Returns `std::strong_ordering::less` if `T` precedes `U` in an + implementation-defined total ordering of all types, `std::strong_ordering::greater` if `U` precedes `T`, ---------------- zwuis wrote:
It is weird to use 'implementation-defined' here. This is user documentation. https://github.com/llvm/llvm-project/pull/216462 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
