Home
last modified time | relevance | path

Searched defs:strong_ordering (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dstd-compare-cxx2a.cpp52 struct strong_ordering { struct
53 long long value;
54 static const strong_ordering equal; // expected-note {{declared here}}
68 struct strong_ordering { struct
69 char value = 0;
72 constexpr strong_ordering(strong_ordering const &other) : value(other.value) {} in strong_ordering() argument
Dcxx2a-consteval.cpp428 struct strong_ordering { struct
429 int n;
430 static const strong_ordering less, equal, greater;
/external/llvm-project/clang/test/PCH/
Dcxx2a-defaulted-comparison.cpp15 struct strong_ordering { struct
35 std::strong_ordering operator<=>(const B &) const = default; in f()
/external/llvm-project/clang/test/CodeGenCXX/
Dcxx2a-three-way-comparison.cpp5 struct strong_ordering { struct
17 std::strong_ordering operator<=>(const Primary&) const = default;
/external/llvm-project/clang/test/CXX/class/class.compare/class.spaceship/
Dp3.cpp4 struct strong_ordering { struct
14 std::strong_ordering operator<=>(const A&) const = default;
Dp1.cpp4 struct strong_ordering { // expected-note 6{{candidate}} struct
5 int n;
6 constexpr operator int() const { return n; } in operator int()
7 static const strong_ordering less, equal, greater;
Dp2.cpp4 class strong_ordering { class
6 constexpr strong_ordering(int n) : n(n) {} in strong_ordering() function in std::strong_ordering
/external/llvm-project/clang/test/CXX/class/class.compare/class.compare.default/
Dp1.cpp51 struct strong_ordering { struct
70 std::strong_ordering operator<=>(const B &) const = default; in f()
Dp5.cpp5 struct strong_ordering { struct
24 constexpr std::strong_ordering operator<=>(const B&) const { log->add(C); return {0}; } in operator <=>()
Dp3.cpp6 struct strong_ordering { struct
20 friend std::strong_ordering operator<=>(const A&, const A&) = default;
Dp4.cpp7 struct strong_ordering { struct
19 friend constexpr std::strong_ordering operator<=>(const A&, const A&) = default;
/external/llvm-project/clang/test/CXX/except/except.spec/
Dp11-2a.cpp20 struct strong_ordering { struct
26 bool operator!=(std::strong_ordering o, int n) noexcept;
/external/llvm-project/clang/test/CodeGenCXX/Inputs/
Dstd-compare.h210 …explicit constexpr strong_ordering(_EqResult __v) noexcept : __value_(static_cast<signed char>(__v… in strong_ordering() function
211 …explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(static_cast<signed char>(__… in strong_ordering() function
/external/llvm-project/clang/test/SemaCXX/Inputs/
Dstd-compare.h210 …explicit constexpr strong_ordering(_EqResult __v) noexcept : __value_(static_cast<signed char>(__v… in strong_ordering() function
211 …explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(static_cast<signed char>(__… in strong_ordering() function
/external/llvm-project/clang/test/PCH/Inputs/
Dstd-compare.h210 …explicit constexpr strong_ordering(_EqResult __v) noexcept : __value_(static_cast<signed char>(__v… in strong_ordering() function
211 …explicit constexpr strong_ordering(_OrdResult __v) noexcept : __value_(static_cast<signed char>(__… in strong_ordering() function