summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.compare/class.spaceship
Commit message (Collapse)AuthorAgeFilesLines
* PR44723: Trigger return type deduction for operator<=>s whose returnRichard Smith2020-01-311-0/+33
| | | | | | | | | | types are needed to compute the return type of a defaulted operator<=>. This raises the question of what to do if return type deduction fails. The standard doesn't say, and implementations vary, so for now reject that case eagerly to keep our options open. (cherry picked from commit 42d4a55f227a1cc78ab8071062d869abe88655d9)
* [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2aSaar Raz2020-01-241-3/+2
| | | | | | | | | Now with concepts support merged and mostly complete, we do not need -fconcepts-ts (which was also misleading as we were not implementing the TS) and can enable concepts features under C++2a. A warning will be generated if users still attempt to use -fconcepts-ts. (cherry picked from commit 67c608a9695496cfc9d3fdf9d0b12b554ac6b4df)
* [c++20] Delete defaulted comparison functions if they would invoke anRichard Smith2019-12-101-0/+23
| | | | inaccessible comparison function.
* [c++20] Return type deduction for defaulted three-way comparisons.Richard Smith2019-12-101-0/+125
|
* [c++20] Defaulted comparison support for array members.Richard Smith2019-12-092-19/+54
|
* [c++20] Synthesis of defaulted comparison functions.Richard Smith2019-12-082-6/+137
| | | | | | Array members are not yet handled. In addition, defaulted comparisons can't yet find comparison operators by unqualified lookup (only by member lookup and ADL). These issues will be fixed in follow-on changes.
* [c++20] Determine whether a defaulted comparison should be deleted orRichard Smith2019-12-061-0/+81
constexpr.
OpenPOWER on IntegriCloud