/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | copy-constructor-init.cpp | 77 X(const X &other) : Copyable(other) {} in X() 81 X2(const X2 &other) {} in X2() 93 X3(const X3 &other) : Copyable(other) {} in X3() 99 X4(const X4 &other) : Copyable() {} in X4() 105 X5(const X5 &other) {} in X5() 111 X6(const X6 &other) {} in X6() 117 X7(const X7 &other) : Copyable() {} in X7() 123 X8(const X8 &other) : Copyable4(other) {} in X8() 127 X9(const X9 &other) : Copyable4() {} in X9() 133 X10(const X10 &other) {} in X10() [all …]
|
/llvm-project/lldb/examples/python/ |
H A D | sbvalue.py | 120 def __add__(self, other): argument 123 def __sub__(self, other): argument 126 def __mul__(self, other): argument 129 def __floordiv__(self, other): argument 132 def __mod__(self, other): argument 135 def __divmod__(self, other): argument 138 def __pow__(self, other): argument 141 def __lshift__(self, other): argument 144 def __rshift__(self, other): argument 147 def __and__(self, other): argument [all …]
|
/llvm-project/libcxx/test/support/type_classification/ |
H A D | swappable.h | 24 constexpr lvalue_adl_swappable(lvalue_adl_swappable&& other) noexcept in lvalue_adl_swappable() function 28 constexpr lvalue_adl_swappable(lvalue_adl_swappable const& other) noexcept in lvalue_adl_swappable() function 59 lvalue_rvalue_adl_swappable(lvalue_rvalue_adl_swappable&& other) noexcept in lvalue_rvalue_adl_swappable() function 64 lvalue_rvalue_adl_swappable(lvalue_rvalue_adl_swappable const& other) noexcept in lvalue_rvalue_adl_swappable() function 96 rvalue_lvalue_adl_swappable(rvalue_lvalue_adl_swappable&& other) noexcept in rvalue_lvalue_adl_swappable() function 101 rvalue_lvalue_adl_swappable(rvalue_lvalue_adl_swappable const& other) noexcept in rvalue_lvalue_adl_swappable() function 132 constexpr rvalue_adl_swappable(rvalue_adl_swappable&& other) noexcept in rvalue_adl_swappable() function 136 constexpr rvalue_adl_swappable(rvalue_adl_swappable const& other) noexcept in rvalue_adl_swappable() function 168 non_move_constructible_adl_swappable&& other) noexcept in non_move_constructible_adl_swappable() 173 non_move_constructible_adl_swappable const& other) noexcept in non_move_constructible_adl_swappable() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cert/ |
H A D | oop58-cpp.cpp | 13 A(const A &other) : m(other.m) { in A() 18 A &operator=(const A &other) { in operator =() 39 B(const B &other) : m(other.m) {} in B() 40 B(B &&other) : m(other.m) { in B() function in test_mutating_compliant_example::B 44 B &operator=(const B &other) { in operator =() 51 B &operator=(B &&other) { in operator =() 67 C(C &other) { in C() function in test_mutating_pointer::C 89 D(D &other) { in D() function in test_mutating_indirect_member::D 101 E(E &other) { in E() function in test_mutating_other_object::E 119 F(F &other) : a(other.a) { in F() function in test_mutating_member_function::F [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/ |
H A D | missing-std-forward.cpp | 35 T other = t; in does_not_forward() local 41 T other = t(); in does_not_forward_invoked() local 83 T other = t; in does_not_forward_in_evaluated_code() local 89 [=]() { T other = std::forward<T>(t); }; in lambda_value_capture() local 95 [&,t]() { T other = std::forward<T>(t); }; in lambda_value_capture_copy() local 117 T other = std::forward<T>(t); in does_forward() local 126 S other = std::move(s); in pass_by_value() local 130 S other = std::move(s); in lvalue_ref() local 134 S other = std::move(s); in rvalue_ref() local 139 T other in templated_rvalue_ref() local 154 T other = std::move(t); rvalue_ref() local 162 [&]() { T other = std::forward<T>(t); }; lambda_value_reference() local 167 [=, &t] { T other = std::forward<T>(t); }; lambda_value_reference_capture_list_ref_1() local 172 [&t] { T other = std::forward<T>(t); }; lambda_value_reference_capture_list_ref_2() local 182 [&x = t]() { T other = std::forward<T>(x); }; lambda_value_reference_auxiliary_var() local [all...] |
H A D | rvalue-reference-param-not-moved.cpp | 68 Obj other{std::move(o2)}; in never_moves_some_params() local 115 Obj other{o1}; in misc_lambda_checks() local 121 Obj other{o1}; in misc_lambda_checks() local 186 Obj other = std::move(*opt); in moves_deref_optional() local 190 Obj other = *std::move(opt); in moves_optional_then_deref_resulting_rvalue() local 236 Obj other{std::move(o1)}; in negative_lambda_checks() local 242 Obj other{o1}; in negative_lambda_checks() local 246 Obj other{o1}; in negative_lambda_checks() local 250 Obj other{std::forward(o1)}; in negative_lambda_checks() local 255 Obj other{std::move(o1)}; in negative_lambda_checks() local [all …]
|
/llvm-project/libcxx/test/support/ |
H A D | controlled_allocators.h | 233 struct rebind { using other = CountingAllocator<U, ID>; }; member 238 CountingAllocator(CountingAllocator const& other) : P(other.P) { in CountingAllocator() function 242 CountingAllocator(CountingAllocator&& other) : P(other.P) { in CountingAllocator() function 247 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() 252 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() 299 struct rebind { using other = CountingAllocator<U, ID>; }; member 304 CountingAllocator(CountingAllocator const& other) : P(other.P) { in CountingAllocator() function 308 CountingAllocator(CountingAllocator&& other) : P(other.P) { in CountingAllocator() function 313 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() 318 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() [all …]
|
H A D | invocable_with_telemetry.h | 31 constexpr invocable_with_telemetry(invocable_with_telemetry&& other) in invocable_with_telemetry() function 38 constexpr invocable_with_telemetry(invocable_with_telemetry const& other) in invocable_with_telemetry() function
|
/llvm-project/lld/test/COFF/ |
H A D | autoimport-gc.s | 16 .global other symbol 18 other: label
|
/llvm-project/libc/src/__support/ |
H A D | arg_list.h | 26 ArgList(ArgList & other) ArgList() argument 46 MockArgList(MockArgList & other) MockArgList() argument 73 StructArgList(const StructArgList & other) StructArgList() argument
|
/llvm-project/clang/test/CodeGenCUDASPIRV/ |
H A D | copy-aggregate-byval.cu | 18 __attribute__((host)) __attribute__((device)) GpuData(const GpuData& other) {} in GpuData() 19 __attribute__((host)) __attribute__((device)) GpuData(GpuData&& other) {} in GpuData() function in GpuData
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Timeout.h | 43 Timeout(const Timeout<Ratio2> &other) in Timeout() 48 Timeout(const std::chrono::duration<Rep2, Ratio2> &other) in Timeout()
|
/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
H A D | optional_U.pass.cpp | 95 optional<int> other(42); in test_with_test_type() local 110 optional<int> other(42); in test_with_test_type() local 126 optional<int> other; in test_with_test_type() local 139 optional<int> other; in test_with_test_type() local 253 constexpr StateTracker& operator=(StateTracker&& other) noexcept in test() 262 constexpr StateTracker& operator=(StateTracker const& other) noexcept in test() 311 optional<std::unique_ptr<D>> other(new D()); in main() local
|
/llvm-project/third-party/unittest/googletest/src/ |
H A D | gtest-assertion-result.cc | 45 AssertionResult::AssertionResult(const AssertionResult& other) in AssertionResult() 52 void AssertionResult::swap(AssertionResult& other) { in swap()
|
/llvm-project/libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/ |
H A D | select_on_container_copy_construction.pass.cpp | 35 A const other = a.select_on_container_copy_construction(); in main() local 44 A const other = a.select_on_container_copy_construction(); in main() local
|
/llvm-project/clang/include/clang/Basic/ |
H A D | Visibility.h | 97 void mergeLinkage(LinkageInfo other) { in mergeLinkage() 132 void mergeVisibility(LinkageInfo other) { in mergeVisibility() 137 void merge(LinkageInfo other) { in merge() 143 void mergeMaybeWithVisibility(LinkageInfo other, bool withVis) { in mergeMaybeWithVisibility()
|
/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
H A D | rebind_alloc.pass.cpp | 31 template <class U> struct rebind {typedef ReboundA<U> other;}; typedef 42 template <class V> struct rebind {typedef ReboundB<V, U> other;}; typedef 70 struct rebind { typedef void other; }; typedef 79 typedef void other; typedef
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ |
H A D | ProgramState.py | 29 def match(self, other) -> bool: argument 74 def match(self, other) -> bool: argument 115 def match(self, other) -> bool: argument
|
/llvm-project/libcxx/include/__memory/ |
H A D | allocator.h | 47 typedef allocator<_Up> other; global() typedef 62 typedef allocator<_Up> other; global() typedef
|
/llvm-project/llvm/utils/lit/lit/ |
H A D | ShCommands.py | 9 def __eq__(self, other): argument 46 def __eq__(self, other): argument 73 def __eq__(self, other): argument 104 def __eq__(self, other): argument
|
/llvm-project/bolt/test/X86/Inputs/ |
H A D | dwarf4-cross-reference-different-abbrev-src.s | 3 .globl other # -- Begin function other symbol 5 other: # @other label
|
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/ |
H A D | DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu2.s | 3 .globl other # -- Begin function other symbol 5 other: # @other label
|
/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/ |
H A D | example-function.cpp | 32 function(const function& other) : invoker(0) { in function() 46 function& operator=(const function& other) { in operator =() 57 void swap(function& other) { in swap()
|
/llvm-project/mlir/include/mlir/Support/ |
H A D | Timing.h | 190 Timer(Timer &&other) : Timer(other) { in Timer() function 275 TimingScope(const Timer &other) : timer(other) { in TimingScope() 279 TimingScope(Timer &&other) : timer(std::move(other)) { in TimingScope() 283 TimingScope(TimingScope &&other) : timer(std::move(other.timer)) {} in TimingScope() function
|
/llvm-project/clang/test/PCH/Inputs/ |
H A D | std-compare.h | 63 constexpr bool test_eq(partial_ordering const &other) const noexcept { in test_eq() 153 constexpr bool test_eq(weak_ordering const &other) const noexcept { in test_eq() 247 constexpr bool test_eq(strong_ordering const &other) const noexcept { in test_eq()
|