summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class/class.compare/class.compare.default/p1.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [c++20] Implement P1946R0: allow defaulted comparisons to take theirRichard Smith2019-12-101-4/+16
| | | | arguments by value.
* [c++20] Fix handling of unqualified lookups from a defaulted comparisonRichard Smith2019-12-091-0/+76
| | | | | | | | | | function. We need to perform unqualified lookups from the context of a defaulted comparison, but not until we implicitly define the function, at which point we can't do those lookups any more. So perform the lookup from the end of the class containing the =default declaration and store the lookup results on the defaulted function until we synthesize the body.
* [c++2a] Allow comparison functions to be explicitly defaulted.Richard Smith2019-10-221-0/+46
This adds some initial syntactic checking that only the appropriate function signatures can be defaulted. No implicit definitions are generated yet.
OpenPOWER on IntegriCloud