summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
Commit message (Collapse)AuthorAgeFilesLines
* PR44627: Consider reversing == and <=> candidates found by ADL.Richard Smith2020-01-301-1/+1
| | | | (cherry picked from commit 1db66e705f4dbe7dbe17edac804289ef59d5f616)
* [c++20] Compute exception specifications for defaulted comparisons.Richard Smith2019-12-151-2/+2
| | | | | | | | This requires us to essentially fully form the body of the defaulted comparison, but from an unevaluated context. Naively this would require generating the function definition twice; instead, we ensure that the function body is implicitly defined before performing the check, and walk the actual body where possible.
* [c++20] Implement P1185R2 (as modified by P2002R0).Richard Smith2019-12-101-0/+146
For each defaulted operator<=> in a class that doesn't explicitly declare any operator==, also inject a matching implicit defaulted operator==.
OpenPOWER on IntegriCloud