summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove extra character I added to test my changes that I forgot to delete ↵Douglas Yung2019-12-121-1/+1
| | | | before submitting.
* Fix test to work correctly on 32-bit platforms.Douglas Yung2019-12-121-1/+2
|
* [c++20] Implement P1185R2 (as modified by P2002R0).Richard Smith2019-12-101-7/+45
| | | | | | For each defaulted operator<=> in a class that doesn't explicitly declare any operator==, also inject a matching implicit defaulted operator==.
* Fix test after r359009 on platforms where %ms_abi_triple is 32-bitNico Weber2019-04-241-1/+1
| | | | llvm-svn: 359057
* MS ABI: Support mangling op<=> now that MSVC 2019 has a manglingNico Weber2019-04-231-2/+6
| | | | llvm-svn: 359009
* Revert r345330 "Add MS ABI mangling for operator<=>."Hans Wennborg2018-10-261-8/+4
| | | | | | | | | | The generated MS manglings differ between 32- and 64-bit, and the test only expects the latter. See also the commit email thread. > Thanks to Cameron DaCamara at Microsoft for letting us know what their > chosen mangling is here! llvm-svn: 345380
* Add MS ABI mangling for operator<=>.Richard Smith2018-10-251-4/+8
| | | | | | | Thanks to Cameron DaCamara at Microsoft for letting us know what their chosen mangling is here! llvm-svn: 345330
* [c++20] P0515R3: Parsing support and basic AST construction for operator <=>.Richard Smith2017-12-141-0/+16
| | | | | | | | | | | | | | | Adding the new enumerator forced a bunch more changes into this patch than I would have liked. The -Wtautological-compare warning was extended to properly check the new comparison operator, clang-format needed updating because it uses precedence levels as weights for determining where to break lines (and several operators increased their precedence levels with this change), thread-safety analysis needed changes to build its own IL properly for the new operator. All "real" semantic checking for this operator has been deferred to a future patch. For now, we use the relational comparison rules and arbitrarily give the builtin form of the operator a return type of 'void'. llvm-svn: 320707
* [c++2a] P0515R3: Support for overloaded operator<=>.Richard Smith2017-12-011-0/+13
No CodeGen support for MSABI yet, we don't know how to mangle this there. llvm-svn: 319513
OpenPOWER on IntegriCloud