Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 2818) sorted by relevance

12345678910>>...113

/llvm-project/libcxx/test/support/
H A Dcompare_types.h23 bool operator==(cxx20_member_eq const&) const = default;
27 friend bool operator==(cxx20_friend_eq const&, cxx20_friend_eq const&) = default;
31 auto operator<=>(member_three_way_comparable const&) const = default;
35 …friend auto operator<=>(friend_three_way_comparable const&, friend_three_way_comparable const&) = …
39 friend bool operator==(explicit_operators, explicit_operators) noexcept;
40 friend bool operator!=(explicit_operators, explicit_operators) noexcept;
41 friend bool operator<(explicit_operators, explicit_operators) noexcept;
42 friend bool operator>(explicit_operators, explicit_operators) noexcept;
43 friend bool operator<=(explicit_operators, explicit_operators) noexcept;
44 friend bool operator>=(explicit_operators, explicit_operators) noexcept;
[all …]
H A Diterator_traits_cpp17_iterators.h13 int& operator*();
14 iterator_traits_cpp17_iterator& operator++();
15 iterator_traits_cpp17_iterator operator++(int);
19 int operator*();
20 iterator_traits_cpp17_proxy_iterator& operator++();
23 iterator_traits_cpp17_iterator operator++(int);
30 int& operator*();
31 iterator_traits_cpp17_input_iterator& operator++();
32 iterator_traits_cpp17_input_iterator operator++(int);
34 bool operator==(iterator_traits_cpp17_input_iterator const&) const;
[all …]
H A Dalmost_satisfies_types.h35 InputIteratorNotDerivedFromGeneric& operator++();
36 void operator++(int);
37 const T& operator*() const;
56 InputIteratorNotIndirectlyReadable& operator++();
57 void operator++(int);
58 const int& operator*() const;
74 int& operator++();
75 void operator++(int);
76 const int& operator*() const;
90 bool operator()(int) const;
[all …]
H A Dpropagate_const_helpers.h6 constexpr const int &operator*() const { return i_; }
7 constexpr int &operator*() { return i_; }
10 constexpr const int *operator->() const { return &i_; }
11 constexpr int *operator->() { return &i_; }
20 constexpr const int &operator*() const { return i_; }
21 constexpr int &operator*() { return i_; }
24 constexpr const int *operator->() const { return &i_; }
25 constexpr int *operator->() { return &i_; }
26 constexpr operator int* () { return &i_; }
35 constexpr const int &operator*() const { return i_; }
[all …]
H A Dtest_iterators.h53 TEST_CONSTEXPR reference operator*() const {return *it_;}
55 TEST_CONSTEXPR_CXX14 cpp17_output_iterator& operator++() {++it_; return *this;} variable
56 TEST_CONSTEXPR_CXX14 cpp17_output_iterator operator++(int) {return cpp17_output_iterator(it_++);}
61 void operator,(T const &) = delete;
100 TEST_CONSTEXPR reference operator*() const {return *it_;}
102 TEST_CONSTEXPR_CXX14 cpp17_input_iterator& operator++() {++it_; return *this;}
103 TEST_CONSTEXPR_CXX14 cpp17_input_iterator operator++(int) {return cpp17_input_iterator(it_++);}
105 friend TEST_CONSTEXPR bool operator==(const cpp17_input_iterator& x, const cpp17_input_iterator& y) {return x.it_ == y.it_;}
106 friend TEST_CONSTEXPR bool operator!=(const cpp17_input_iterator& x, const cpp17_input_iterator& y) {return x.it_ != y.it_;}
111 void operator,(
101 void operator,(T const &) = delete; global() variable
145 void operator,(T const &) = delete; global() variable
187 void operator,(T const &) = delete; global() variable
241 void operator,(T const &) = delete; global() variable
334 void operator,(T const&) = delete; global() variable
394 void operator,(T const &) = delete; global() variable
446 void operator,(T const &) = delete; global() variable
556 void operator,(T2 const &) = delete; global() member
627 void operator,(T2 const &) = delete; global() member
649 cpp20_input_iterator& operator=(cpp20_input_iterator&&) = default; global() variable
657 void operator,(T const &) = delete; global() variable
[all...]
H A DMoveOnly.h24 MoveOnly& operator=(const MoveOnly&) = delete; variable
28 TEST_CONSTEXPR_CXX14 MoveOnly& operator=(MoveOnly&& x)
33 friend TEST_CONSTEXPR bool operator==(const MoveOnly& x, const MoveOnly& y)
35 friend TEST_CONSTEXPR bool operator!=(const MoveOnly& x, const MoveOnly& y)
37 friend TEST_CONSTEXPR bool operator< (const MoveOnly& x, const MoveOnly& y)
39 friend TEST_CONSTEXPR bool operator<=(const MoveOnly& x, const MoveOnly& y)
41 friend TEST_CONSTEXPR bool operator> (const MoveOnly& x, const MoveOnly& y)
43 friend TEST_CONSTEXPR bool operator>=(const MoveOnly& x, const MoveOnly& y)
47 friend constexpr auto operator<=>(const MoveOnly&, const MoveOnly&) = default;
50 TEST_CONSTEXPR_CXX14 MoveOnly operator+(const MoveOnly& x) const
[all …]
/llvm-project/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/
H A Dincrementable.h14 postfix_increment_returns_void& operator++();
15 void operator++(int);
20 postfix_increment_returns_copy& operator++();
21 postfix_increment_returns_copy operator++(int);
25 has_integral_minus& operator++();
26 has_integral_minus operator++(int);
28 long operator-(has_integral_minus) const;
34 has_distinct_difference_type_and_minus& operator++();
35 has_distinct_difference_type_and_minus operator++(int);
37 long operator-(has_distinct_difference_type_and_minus) const;
[all …]
/llvm-project/llvm/include/llvm/ADT/
H A DSlowDynamicAPInt.h41 SlowDynamicAPInt &operator=(int64_t Val); variable
42 explicit operator int64_t() const;
43 SlowDynamicAPInt operator-() const;
44 bool operator==(const SlowDynamicAPInt &O) const;
45 bool operator!=(const SlowDynamicAPInt &O) const;
46 bool operator>(const SlowDynamicAPInt &O) const;
47 bool operator<(const SlowDynamicAPInt &O) const;
48 bool operator<=(const SlowDynamicAPInt &O) const;
49 bool operator>=(const SlowDynamicAPInt &O) const;
50 SlowDynamicAPInt operator
[all...]
H A DDynamicAPInt.h63 // functions, e.g. the assignment operator on it, as they may access the in initLarge()
68 // In this case, we need to use the assignment operator, because if we use in initLarge()
107 explicit operator detail::SlowDynamicAPInt() const { in SlowDynamicAPInt()
129 LLVM_ATTRIBUTE_ALWAYS_INLINE DynamicAPInt &operator=(const DynamicAPInt &O) {
137 LLVM_ATTRIBUTE_ALWAYS_INLINE DynamicAPInt &operator=(int X) {
141 LLVM_ATTRIBUTE_ALWAYS_INLINE explicit operator int64_t() const { in int64_t()
147 bool operator==(const DynamicAPInt &O) const;
148 bool operator!=(const DynamicAPInt &O) const;
149 bool operator>(const DynamicAPInt &O) const;
150 bool operator<(cons
[all...]
H A DAPSInt.h64 APSInt &operator=(APInt RHS) {
66 APInt::operator=(std::move(RHS));
70 APSInt &operator=(uint64_t RHS) {
72 APInt::operator=(RHS);
126 const APSInt &operator%=(const APSInt &RHS) {
134 const APSInt &operator/=(const APSInt &RHS) {
142 APSInt operator%(const APSInt &RHS) const {
146 APSInt operator/(const APSInt &RHS) const {
151 APSInt operator>>(unsigned Amt) const {
154 APSInt &operator>>=(unsigned Amt) {
[all …]
/llvm-project/llvm/include/llvm/IR/
H A DDiagnosticPrinter.h36 virtual DiagnosticPrinter &operator<<(char C) = 0;
37 virtual DiagnosticPrinter &operator<<(unsigned char C) = 0;
38 virtual DiagnosticPrinter &operator<<(signed char C) = 0;
39 virtual DiagnosticPrinter &operator<<(StringRef Str) = 0;
40 virtual DiagnosticPrinter &operator<<(const char *Str) = 0;
41 virtual DiagnosticPrinter &operator<<(const std::string &Str) = 0;
42 virtual DiagnosticPrinter &operator<<(unsigned long N) = 0;
43 virtual DiagnosticPrinter &operator<<(long N) = 0;
44 virtual DiagnosticPrinter &operator<<(unsigned long long N) = 0;
45 virtual DiagnosticPrinter &operator<<(long long N) = 0;
[all …]
/llvm-project/clang/test/PCH/Inputs/
H A Dstd-compare.h46 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
47 friend constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
48 friend constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
49 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
50 friend constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
51 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
52 friend constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
53 friend constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
54 friend constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
55 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
[all …]
/llvm-project/clang/test/CodeGenCXX/Inputs/
H A Dstd-compare.h46 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
47 friend constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
48 friend constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
49 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
50 friend constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
51 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
52 friend constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
53 friend constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
54 friend constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
55 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
[all …]
/llvm-project/clang/test/ASTMerge/cxx-rewritten-binary-operator/Inputs/
H A Dstd-compare.h46 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
47 friend constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
48 friend constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
49 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
50 friend constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
51 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
52 friend constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
53 friend constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
54 friend constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
55 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
[all …]
/llvm-project/clang/test/SemaCXX/Inputs/
H A Dstd-compare.h46 friend constexpr bool operator==(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
47 friend constexpr bool operator!=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
48 friend constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
49 friend constexpr bool operator<=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
50 friend constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
51 friend constexpr bool operator>=(partial_ordering __v, _CmpUnspecifiedParam) noexcept;
52 friend constexpr bool operator==(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
53 friend constexpr bool operator!=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
54 friend constexpr bool operator<(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
55 friend constexpr bool operator<=(_CmpUnspecifiedParam, partial_ordering __v) noexcept;
[all …]
/llvm-project/libcxx/test/support/type_classification/
H A Dmovable.h42 cpp03_friendly& operator=(cpp03_friendly const&); member
47 const_move_ctor& operator=(const_move_ctor&&); member
52 volatile_move_ctor& operator=(volatile_move_ctor&&); member
57 cv_move_ctor& operator=(cv_move_ctor&&); member
62 multi_param_move_ctor& operator=(multi_param_move_ctor&&); member
67 not_quite_multi_param_move_ctor& operator=(not_quite_multi_param_move_ctor&&); member
73 operator=(copy_with_mutable_parameter&); member
77 const_move_assignment& operator=(const_move_assignment&&) const; member
81 const_move_assignment& operator=(const_move_assignment&&) volatile; member
85 cv_move_assignment& operator=(cv_move_assignment&&) const volatile; member
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/
H A Dstructures.h63 value_type &operator*();
64 const value_type &operator*() const;
65 iterator& operator ++();
66 bool operator!=(const iterator &other);
84 value_type &operator*();
85 const value_type &operator*() const;
86 const_iterator &operator++();
87 bool operator!=(const const_iterator &other);
92 operator const_iterator() const;
100 Val& operator*();
[all …]
/llvm-project/libcxx/test/std/ranges/range.factories/range.iota.view/
H A Dtypes.h20 auto operator<=>(const SomeInt&) const = default;
22 friend constexpr SomeInt& operator+=(SomeInt &lhs, const SomeInt& rhs) {
25 friend constexpr SomeInt& operator-=(SomeInt &lhs, const SomeInt& rhs) {
29 friend constexpr SomeInt& operator+=(SomeInt &lhs, difference_type rhs) {
32 friend constexpr SomeInt& operator-=(SomeInt &lhs, difference_type rhs) {
36 friend constexpr SomeInt operator+(SomeInt lhs, SomeInt rhs) {
39 friend constexpr int operator-(SomeInt lhs, SomeInt rhs) {
43 friend constexpr SomeInt operator+(SomeInt lhs, difference_type rhs) {
46 friend constexpr int operator-(SomeInt lhs, difference_type rhs) {
50 friend constexpr SomeInt operator+(difference_type lhs, SomeInt rhs) {
[all …]
/llvm-project/flang/include/flang/Evaluate/
H A Dtraverse.h18 // Each of its overloads for operator() should be viewed as a *default*
25 // - overrides for "Result operator()"
31 // - The operator() overloads in Traverse<> invoke the visitor's Default() for
32 // expression leaf nodes. They invoke the visitor's operator() for the
35 // - Overloads of operator() in each visitor handle the cases of interest.
56 Result operator()(const common::Indirection<A, C> &x) const { in operator() function
60 Result operator()(const common::ForwardOwningPointer<A> &p) const { in operator() function
63 template <typename _> Result operator()(const SymbolRef x) const { in operator() function
66 template <typename A> Result operator()(const std::unique_ptr<A> &x) const { in operator() function
69 template <typename A> Result operator()(cons in operator() function
72 template <typename A> Result operator()(const A *x) const { operator() function
79 template <typename A> Result operator()(const std::optional<A> &x) const { operator() function
87 Result operator()(const std::variant<As...> &u) const { operator() function
90 template <typename A> Result operator()(const std::vector<A> &x) const { operator() function
94 Result operator()(const std::pair<A, B> &x) const { operator() function
99 Result operator()(const BOZLiteralConstant &) const { operator() function
102 Result operator()(const NullPointer &) const { return visitor_.Default(); } operator() function
103 template <typename T> Result operator()(const Constant<T> &x) const { operator() function
111 Result operator()(const Symbol &symbol) const { operator() function
121 Result operator()(const StaticDataObject &) const { operator() function
124 Result operator()(const ImpliedDoIndex &) const { return visitor_.Default(); } operator() function
127 Result operator()(const BaseObject &x) const { return visitor_(x.u); } operator() function
128 Result operator()(const Component &x) const { operator() function
131 Result operator()(const NamedEntity &x) const { operator() function
138 Result operator()(const TypeParamInquiry &x) const { operator() function
141 Result operator()(const Triplet &x) const { operator() function
144 Result operator()(const Subscript &x) const { return visitor_(x.u); } operator() function
145 Result operator()(const ArrayRef &x) const { operator() function
148 Result operator()(const CoarrayRef &x) const { operator() function
152 Result operator()(const DataRef &x) const { return visitor_(x.u); } operator() function
153 Result operator()(const Substring &x) const { operator() function
156 Result operator()(const ComplexPart &x) const { operator() function
159 template <typename T> Result operator()(const Designator<T> &x) const { operator() function
162 template <typename T> Result operator()(const Variable<T> &x) const { operator() function
165 Result operator()(const DescriptorInquiry &x) const { operator() function
170 Result operator()(const SpecificIntrinsic &) const { operator() function
173 Result operator()(const ProcedureDesignator &x) const { operator() function
182 Result operator()(const ActualArgument &x) const { operator() function
189 Result operator()(const ProcedureRef &x) const { operator() function
192 template <typename T> Result operator()(const FunctionRef<T> &x) const { operator() function
198 Result operator()(const ArrayConstructorValue<T> &x) const { operator() function
202 Result operator()(const ArrayConstructorValues<T> &x) const { operator() function
205 template <typename T> Result operator()(const ImpliedDo<T> &x) const { operator() function
208 Result operator()(const semantics::ParamValue &x) const { operator() function
211 Result operator()( operator() function
215 Result operator()( operator() function
219 Result operator()(const semantics::DerivedTypeSpec &x) const { operator() function
222 Result operator()(const StructureConstructorValues::value_type &x) const { operator() function
225 Result operator()(const StructureConstructorValues &x) const { operator() function
228 Result operator()(const StructureConstructor &x) const { operator() function
234 Result operator()(const Operation<D, R, O> &op) const { operator() function
238 Result operator()(const Operation<D, R, LO, RO> &op) const { operator() function
241 Result operator()(const Relational<SomeType> &x) const { operator() function
244 template <typename T> Result operator()(const Expr<T> &x) const { operator() function
247 Result operator()(const Assignment &x) const { operator() function
250 Result operator()(const Assignment::Intrinsic &) const { operator() function
253 Result operator()(const GenericExprWrapper &x) const { return visitor_(x.v); } operator() function
254 Result operator()(const GenericAssignmentWrapper &x) const { operator() function
[all...]
/llvm-project/libcxx/test/std/ranges/range.utility/range.subrange/
H A Dtypes.h43 MoveOnlyForwardIter &operator=(MoveOnlyForwardIter&&) = default; member
47 friend bool operator==(const self&, const self&);
48 friend constexpr bool operator==(const self& lhs, int* rhs) { return lhs.base == rhs; }
50 reference operator*() const;
51 pointer operator->() const;
52 self& operator++();
53 self operator++(int);
54 self& operator--();
55 self operator--(int);
57 constexpr operator pointer() const { return base; } in pointer()
[all …]
/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DDebugUtils.h33 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameSet &Symbols);
36 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameVector &Symbols);
39 raw_ostream &operator<<(raw_ostream &OS, ArrayRef<SymbolStringPtr> Symbols);
42 raw_ostream &operator<<(raw_ostream &OS, const JITSymbolFlags &Flags);
45 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV);
48 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV);
51 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap &SymbolFlags);
54 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap &Symbols);
57 raw_ostream &operator<<(raw_ostream &OS,
61 raw_ostream &operator<<(raw_ostrea
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h46 friend bool operator==(Align Lhs, Align Rhs);
47 friend bool operator!=(Align Lhs, Align Rhs);
48 friend bool operator<=(Align Lhs, Align Rhs);
49 friend bool operator>=(Align Lhs, Align Rhs);
50 friend bool operator<(Align Lhs, Align Rhs);
51 friend bool operator>(Align Lhs, Align Rhs);
73 Align &operator=(const Align &Other) = default; member
74 Align &operator=(Align &&Other) = default; member
127 MaybeAlign &operator=(const MaybeAlign &Other) = default; member
129 MaybeAlign &operator member
[all...]
/llvm-project/flang/include/flang/Parser/
H A Dchar-block.h37 constexpr CharBlock &operator=(const CharBlock &) = default; variable
38 constexpr CharBlock &operator=(CharBlock &&) = default; variable
46 constexpr const char &operator[](std::size_t j) const {
109 bool operator<(const CharBlock &that) const { return Compare(that) < 0; }
110 bool operator<=(const CharBlock &that) const { return Compare(that) <= 0; }
111 bool operator==(const CharBlock &that) const { return Compare(that) == 0; }
112 bool operator!=(const CharBlock &that) const { return Compare(that) != 0; }
113 bool operator>=(const CharBlock &that) const { return Compare(that) >= 0; }
114 bool operator>(const CharBlock &that) const { return Compare(that) > 0; }
116 bool operator<(const char *that) const { return Compare(that) < 0; }
[all …]
/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h54 CustomizableOptional &operator=(T &&y) {
58 CustomizableOptional &operator=(CustomizableOptional &&O) = default; variable
65 CustomizableOptional &operator=(const T &y) {
69 CustomizableOptional &operator=(const CustomizableOptional &O) = default; variable
82 constexpr explicit operator bool() const { return has_value(); }
84 constexpr const T *operator->() const { return &Storage.value(); }
85 T *operator->() { return &Storage.value(); }
86 constexpr const T &operator*() const & { return Storage.value(); }
87 T &operator*() & { return Storage.value(); }
90 return has_value() ? operator*() : std::forward<U>(alt); in value_or()
[all …]
/llvm-project/libcxx/include/
H A Dostream34 basic_ostream& operator=(const basic_ostream& rhs) = delete; // C++14
35 basic_ostream& operator=(basic_ostream&& rhs);
42 basic_ostream& operator<<(basic_ostream& (*pf)(basic_ostream&));
43 basic_ostream& operator<<(basic_ios<charT, traits>& (*pf)(basic_ios<charT,traits>&));
44 basic_ostream& operator<<(ios_base& (*pf)(ios_base&));
45 basic_ostream& operator<<(bool n);
46 basic_ostream& operator<<(short n);
47 basic_ostream& operator<<(unsigned short n);
48 basic_ostream& operator<<(int n);
49 basic_ostream& operator<<(unsigne
[all...]

12345678910>>...113