Home
last modified time | relevance | path

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

12345678910>>...105

/llvm-project-15.0.7/libcxx/test/support/
H A Dcompare_types.h64 operator explicit_operators() const;
68 operator bool() const noexcept;
75 operator explicit_operators() const noexcept;
82 operator explicit_operators() const noexcept;
88 friend bool operator<(no_eq, no_eq) noexcept;
89 friend bool operator>(no_eq, no_eq) noexcept;
97 friend bool operator<(no_eq, no_eq) noexcept;
98 friend bool operator>(no_eq, no_eq) noexcept;
243 operator explicit_operators() const;
251 operator explicit_operators() const;
[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*();
23 iterator_traits_cpp17_iterator operator++(int);
30 int& operator*();
41 int operator*();
54 int& operator*();
65 int& operator*();
78 int& operator*();
[all …]
H A Dalmost_satisfies_types.h35 void operator++(int);
52 void operator++(int);
69 int& operator++();
70 void operator++(int);
105 void operator++(int);
173 int operator++(int);
280 int& operator++();
282 int& operator*();
314 int& operator++();
338 Self& operator++();
[all …]
H A Dpropagate_const_helpers.h7 constexpr int &operator*() { return i_; }
11 constexpr int *operator->() { return &i_; }
21 constexpr int &operator*() { return i_; }
25 constexpr int *operator->() { return &i_; }
26 constexpr operator int* () { return &i_; }
36 constexpr int &operator*() { return i_; }
40 constexpr int *operator->() { return &i_; }
51 constexpr int &operator*() { return i_; }
65 constexpr int &operator*() { return i_; }
80 constexpr int &operator*() { return i_; }
[all …]
H A Dtest_iterators.h54 void operator,(T const &) = delete; variable
95 void operator,(T const &) = delete; variable
134 void operator,(T const &) = delete; variable
172 void operator,(T const &) = delete; variable
222 void operator,(T const &) = delete; variable
311 void operator,(T const&) = delete; variable
369 void operator,(T const &) = delete; variable
419 void operator,(T const &) = delete; variable
661 void operator,(T const&) = delete;
904 constexpr Iterator operator++(int) {
[all …]
H A Dmin_allocator.h35 return static_cast<T*>(::operator new(n*sizeof(T))); in allocate()
40 return ::operator delete(static_cast<void*>(p)); in deallocate()
43 friend bool operator==(bare_allocator, bare_allocator) {return true;}
73 return static_cast<T*>(::operator new(n*sizeof(T))); in allocate()
78 return ::operator delete(static_cast<void*>(p)); in deallocate()
211 explicit operator bool() const {return ptr_ != nullptr;}
259 TEST_CONSTEXPR_CXX14 reference operator*() const {return *ptr_;}
260 TEST_CONSTEXPR_CXX14 pointer operator->() const {return ptr_;}
271 TEST_CONSTEXPR_CXX14 min_pointer operator+(difference_type n) const
330 TEST_CONSTEXPR_CXX14 reference operator*() const {return *ptr_;}
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.functions/
H A Dformat_tests.h338 check.template operator()<"{}">(SV("aßc"), STR("aßc"));
341 check.template operator()<"{:.2}">(SV("aß"), STR("aßc"));
342 check.template operator()<"{:.1}">(SV("a"), STR("aßc"));
372 check.template operator()<"{:*^3}">(
384 check.template operator()<"{:*^4}">(
776 check.template operator()<"{:#b}">(
809 check.template operator()<"{:#b}">(
854 check.template operator()<"{:#b}">(
2561 check.template operator()<"{{">(SV("{"));
2562 check.template operator()<"}}">(SV("}"));
[all …]
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/iterator.concepts/
H A Dincrementable.h14 void operator++(int);
24 has_integral_minus& operator++();
41 void operator++(int);
48 void operator++(int);
52 non_const_minus& operator++();
53 non_const_minus operator++(int);
69 void operator++(int);
79 void operator++(int);
88 not_movable& operator++();
89 void operator++(int);
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DSlowMPInt.h43 SlowMPInt &operator=(int64_t val); variable
44 explicit operator int64_t() const;
45 SlowMPInt operator-() const;
46 bool operator==(const SlowMPInt &o) const;
47 bool operator!=(const SlowMPInt &o) const;
48 bool operator>(const SlowMPInt &o) const;
49 bool operator<(const SlowMPInt &o) const;
50 bool operator<=(const SlowMPInt &o) const;
51 bool operator>=(const SlowMPInt &o) const;
63 SlowMPInt &operator++();
[all …]
H A DMPInt.h180 bool operator==(const MPInt &o) const;
182 bool operator>(const MPInt &o) const;
183 bool operator<(const MPInt &o) const;
191 MPInt &operator+=(const MPInt &o);
192 MPInt &operator-=(const MPInt &o);
193 MPInt &operator*=(const MPInt &o);
194 MPInt &operator/=(const MPInt &o);
195 MPInt &operator%=(const MPInt &o);
196 MPInt operator-() const;
197 MPInt &operator++();
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDiagnosticPrinter.h36 virtual DiagnosticPrinter &operator<<(char C) = 0;
43 virtual DiagnosticPrinter &operator<<(long N) = 0;
45 virtual DiagnosticPrinter &operator<<(long long N) = 0;
48 virtual DiagnosticPrinter &operator<<(int N) = 0;
49 virtual DiagnosticPrinter &operator<<(double N) = 0;
69 DiagnosticPrinter &operator<<(char C) override;
71 DiagnosticPrinter &operator<<(signed char C) override;
76 DiagnosticPrinter &operator<<(long N) override;
78 DiagnosticPrinter &operator<<(long long N) override;
81 DiagnosticPrinter &operator<<(int N) override;
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/loop-convert/
H A Dstructures.h45 value_type &operator*();
47 iterator& operator ++();
59 value_type &operator*();
75 Val& operator*();
79 Val *operator->();
105 ElemType& operator*();
145 Value& operator*();
146 Value& operator ++();
147 Value *operator->();
162 Contained operator*();
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/Inputs/
H A Dstd-compare.h78 constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
84 constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
130 constexpr operator partial_ordering() const noexcept { in partial_ordering()
164 constexpr bool operator==(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
167 constexpr bool operator!=(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
170 constexpr bool operator<(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
176 constexpr bool operator>(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
188 constexpr bool operator<(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
194 constexpr bool operator>(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
220 constexpr operator partial_ordering() const noexcept { in partial_ordering()
[all …]
/llvm-project-15.0.7/clang/test/PCH/Inputs/
H A Dstd-compare.h78 constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
84 constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
130 constexpr operator partial_ordering() const noexcept { in partial_ordering()
164 constexpr bool operator==(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
167 constexpr bool operator!=(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
170 constexpr bool operator<(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
176 constexpr bool operator>(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
188 constexpr bool operator<(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
194 constexpr bool operator>(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
220 constexpr operator partial_ordering() const noexcept { in partial_ordering()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/Inputs/
H A Dstd-compare.h78 constexpr bool operator<(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
84 constexpr bool operator>(partial_ordering __v, _CmpUnspecifiedParam) noexcept {
130 constexpr operator partial_ordering() const noexcept { in partial_ordering()
164 constexpr bool operator==(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
167 constexpr bool operator!=(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
170 constexpr bool operator<(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
176 constexpr bool operator>(weak_ordering __v, _CmpUnspecifiedParam) noexcept {
188 constexpr bool operator<(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
194 constexpr bool operator>(_CmpUnspecifiedParam, weak_ordering __v) noexcept {
220 constexpr operator partial_ordering() const noexcept { in partial_ordering()
[all …]
/llvm-project-15.0.7/libcxx/test/support/type_classification/
H A Dmovable.h41 cpp03_friendly& operator=(cpp03_friendly const&); member
46 const_move_ctor& operator=(const_move_ctor&&); member
51 volatile_move_ctor& operator=(volatile_move_ctor&&); member
56 cv_move_ctor& operator=(cv_move_ctor&&); member
61 multi_param_move_ctor& operator=(multi_param_move_ctor&&); member
72 operator=(copy_with_mutable_parameter&); member
103 operator=(cv_move_assign_and_traditional_move_assign&&); member
118 operator=(const_move_assign_and_default_ops&&) const; member
141 operator=(cv_move_assign_and_default_ops&&) = default; member
151 operator=(const deleted_assignment_from_const_rvalue&); member
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/
H A Dtypes.h20 auto operator<=>(const SomeInt&) const = default;
36 friend constexpr SomeInt operator+(SomeInt lhs, SomeInt rhs) {
39 friend constexpr int operator-(SomeInt lhs, SomeInt rhs) {
57 constexpr SomeInt& operator++() { ++value_; return *this; }
59 constexpr SomeInt& operator--() { --value_; return *this; }
133 bool operator==(const NotIncrementable&) const = default;
161 bool operator==(const NotDecrementable&) const = default;
192 bool operator==(const Int42&) const = default;
201 friend constexpr Int42 operator+(Int42 lhs, Int42 rhs) {
204 friend constexpr int operator-(Int42 lhs, Int42 rhs) {
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dchrono528 operator/(const year& y, int m) noexcept;
532 operator/(const month& m, int d) noexcept;
534 operator/(int m, const day& d) noexcept;
538 operator/(const day& d, int m) noexcept;
540 operator/(const month& m, last_spec) noexcept;
542 operator/(int m, last_spec) noexcept;
544 operator/(last_spec, const month& m) noexcept;
546 operator/(last_spec, int m) noexcept;
566 operator/(const year_month& ym, int d) noexcept;
570 operator/(int y, const month_day& md) noexcept;
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/range.subrange/
H A Dtypes.h52 self& operator++();
53 self operator++(int);
54 self& operator--();
55 self operator--(int);
78 self& operator++();
79 self operator++(int);
80 self& operator--();
115 self& operator++();
117 self& operator--();
151 self& operator++();
[all …]
/llvm-project-15.0.7/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 {
93 friend bool operator<(const char *, const CharBlock &);
94 friend bool operator<=(const char *, const CharBlock &);
95 friend bool operator==(const char *, const CharBlock &);
96 friend bool operator!=(const char *, const CharBlock &);
97 friend bool operator>=(const char *, const CharBlock &);
98 friend bool operator>(const char *, const CharBlock &);
122 inline bool operator<(const char *left, const CharBlock &right) {
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DDebugUtils.h33 raw_ostream &operator<<(raw_ostream &OS, const SymbolStringPtr &Sym);
36 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameSet &Symbols);
45 raw_ostream &operator<<(raw_ostream &OS, const JITSymbolFlags &Flags);
57 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap &Symbols);
60 raw_ostream &operator<<(raw_ostream &OS,
70 raw_ostream &operator<<(raw_ostream &OS,
83 raw_ostream &operator<<(raw_ostream &OS,
90 raw_ostream &operator<<(raw_ostream &OS, const SymbolState &S);
93 raw_ostream &operator<<(raw_ostream &OS, const LookupKind &K);
96 raw_ostream &operator<<(raw_ostream &OS, const SymbolStringPool &SSP);
[all …]
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dtraverse.h108 Result operator()(const Symbol &symbol) const { in operator() function
124 Result operator()(const Component &x) const { in operator() function
127 Result operator()(const NamedEntity &x) const { in operator() function
137 Result operator()(const Triplet &x) const { in operator() function
141 Result operator()(const ArrayRef &x) const { in operator() function
144 Result operator()(const CoarrayRef &x) const { in operator() function
149 Result operator()(const Substring &x) const { in operator() function
207 Result operator()( in operator() function
272 using Base::operator();
285 using Base::operator();
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.assign/
H A Dtypes.h20 constexpr CopyAssign& operator=(const CopyAssign&) = default; member
23 constexpr CopyAssign& operator=(CopyAssign&&) = delete; member
24 constexpr const CopyAssign& operator=(CopyAssign&&) const = delete; member
39 constexpr ConstCopyAssign& operator=(ConstCopyAssign&&) = delete; member
49 constexpr MoveAssign& operator=(MoveAssign&&) = default; member
51 constexpr MoveAssign& operator=(const MoveAssign&) = delete; member
83 constexpr AssignableFrom& operator=(const T& t)
90 constexpr AssignableFrom& operator=(T&& t)
97 constexpr const AssignableFrom& operator=(const T& t) const
104 constexpr const AssignableFrom& operator=(T&& t) const
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPSInt.h64 APSInt &operator=(APInt RHS) {
66 APInt::operator=(std::move(RHS));
70 APSInt &operator=(uint64_t RHS) {
72 APInt::operator=(RHS);
140 APSInt& operator>>=(unsigned Amt) {
202 APSInt& operator++() {
206 APSInt& operator--() {
210 APSInt operator++(int) {
213 APSInt operator--(int) {
216 APSInt operator-() const {
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBlockRanges.h39 bool operator<(RegisterRef R) const {
61 operator unsigned() const;
62 bool operator== (unsigned x) const;
63 bool operator== (IndexType Idx) const;
64 bool operator!= (unsigned x) const;
65 bool operator!= (IndexType Idx) const;
66 IndexType operator++ ();
67 bool operator< (unsigned Idx) const;
68 bool operator< (IndexType Idx) const;
210 return operator< (IndexType(Idx));
[all …]

12345678910>>...105