Home
last modified time | relevance | path

Searched refs:destroyed (Results 1 – 25 of 51) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Dnullopt_t.pass.cpp27 enum class State { inactive, constructed, destroyed }; in test() enumerator
36 TEST_CONSTEXPR_CXX20 ~StateTracker() { *state_ = State::destroyed; } in test()
61 assert(state == State::destroyed); in test()
79 assert(TT::destroyed == 0); in main()
83 assert(TT::destroyed == 0); in main()
87 assert(TT::destroyed == 0); in main()
91 assert(TT::destroyed == 0); in main()
96 assert(TT::destroyed == 1); in main()
100 assert(TT::destroyed == 1); in main()
H A Demplace.pass.cpp132 assert(T::destroyed == 0); in test_on_test_type()
144 assert(T::destroyed == 1); in test_on_test_type()
156 assert(T::destroyed == 1); in test_on_test_type()
168 assert(T::destroyed == 1); in test_on_test_type()
180 assert(T::destroyed == 1); in test_on_test_type()
192 assert(T::destroyed == 1); in test_on_test_type()
204 assert(T::destroyed == 1); in test_on_test_type()
H A Dassign_value.pass.cpp95 assert(T::destroyed == 0); in test_with_test_type()
107 assert(T::destroyed == 0); in test_with_test_type()
120 assert(T::destroyed == 1); in test_with_test_type()
133 assert(T::destroyed == 1); in test_with_test_type()
146 assert(T::destroyed == 1); in test_with_test_type()
158 assert(T::destroyed == 1); in test_with_test_type()
H A Dconst_optional_U.pass.cpp95 assert(T::destroyed == 0); in test_with_test_type()
111 assert(T::destroyed == 0); in test_with_test_type()
126 assert(T::destroyed == 1); in test_with_test_type()
139 assert(T::destroyed == 0); in test_with_test_type()
H A Doptional_U.pass.cpp101 assert(T::destroyed == 0); in test_with_test_type()
117 assert(T::destroyed == 0); in test_with_test_type()
132 assert(T::destroyed == 1); in test_with_test_type()
145 assert(T::destroyed == 0); in test_with_test_type()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.cons/
H A Ddtor.pass.cpp23 std::set<int> destroyed; variable
27 ~Foo() { destroyed.insert(value); } in ~Foo()
38 assert(destroyed.empty()); in main()
40 assert(destroyed.count(1) == 1); in main()
41 assert(destroyed.count(2) == 1); in main()
42 assert(destroyed.count(3) == 1); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Dmove.pass.cpp97 assert(T::destroyed == 0); in test_reference_extension()
99 assert(T::destroyed == 1); in test_reference_extension()
111 assert(T::destroyed == 0); in test_reference_extension()
114 assert(T::destroyed == 1); in test_reference_extension()
123 assert(T::destroyed == 0); in test_reference_extension()
126 assert(T::destroyed == 1); in test_reference_extension()
137 assert(T::destroyed == 0); in test_reference_extension()
140 assert(T::destroyed == 1); in test_reference_extension()
H A Dcopy.pass.cpp91 assert(T::destroyed == 0); in test_reference_extension()
93 assert(T::destroyed == 1); in test_reference_extension()
105 assert(T::destroyed == 0); in test_reference_extension()
108 assert(T::destroyed == 1); in test_reference_extension()
/llvm-project-15.0.7/llvm/test/Transforms/SimpleLoopUnswitch/
H A Dnontrivial-unswitch-markloopasdeleted.ll11 ; Loop objects used as key in the analyses cache is destroyed). So here we
12 ; want to see that any analysis results cached on the destroyed loop is
13 ; cleared. A special case here is that loop_a_inner is destroyed when
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dswitch-undef-constantfoldterminator.ll7 ; Use still stuck around after Def is destroyed: br i1 undef, label %lor.rhs, label %land.end
8 … llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a value is destroyed!"' failed.
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp256 bool destroyed = false; in JoinThread() local
266 if ((destroyed = tctx->GetDestroyed())) { in JoinThread()
273 if (!destroyed) in JoinThread()
275 } while (!destroyed); in JoinThread()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_debugging.cpp154 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument
160 *destroyed = mutex->destroyed; in __tsan_get_report_mutex()
H A Dtsan_report.h96 bool destroyed; member
/llvm-project-15.0.7/libcxx/test/support/
H A Darchetypes.h49 static int destroyed; member
60 assigned = value_assigned = copy_assigned = move_assigned = destroyed = 0; in reset_constructors()
101 --alive; ++destroyed; value = -999; in ~TestBase()
139 template <class D, bool E> int TestBase<D, E>::destroyed = 0;
/llvm-project-15.0.7/llvm/bindings/ocaml/linker/
H A Dllvm_linker.mli17 if the linking fails. The src module is destroyed. *)
/llvm-project-15.0.7/clang/test/CXX/special/class.dtor/
H A Dp10-0x.cpp33 …or{{the type of object expression ('int') does not match the type being destroyed ('decltype(intp(… in a()
/llvm-project-15.0.7/llvm/test/Transforms/TailCallElim/
H A DEraseBB.ll7 ; CHECK-NOT: Uses remain when a value is destroyed
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Ddangling-handle.rst8 values, where the temporary is destroyed soon after the handle is created.
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dalias-set-tracker-loss.ll6 ; removed, its alias set tracker is destroyed and no longer available when LICM
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp154 int *destroyed, void **trace, uptr trace_size) { in __tsan_get_report_mutex() argument
160 *destroyed = false; in __tsan_get_report_mutex()
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DUniquePtrTrivialAbi.rst44 * ``std::unique_ptr`` parameters will now be destroyed by callees, rather than callers.
46 In most Microsoft's ABIs, arguments are always destroyed by the callee.
/llvm-project-15.0.7/llvm/docs/
H A DCoroutines.rst21 to continue execution from the last suspend point or it can be destroyed.
45 and destroyed when a coroutine either runs to completion or is destroyed
81 - A coroutine object can be destroyed, invalidating the coroutine object,
103 destroyed, which takes a pointer to the coroutine object and returns
282 and 6 after which the coroutine will be destroyed.
323 block is entered when coroutine runs to completion by itself or destroyed via
334 destroyed (case 1).
412 destroyed by the same calling function, is common for coroutines implementing
699 destroyed:
1120 a coroutine that does nothing when resumed or destroyed.
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dnonobjc-to-objc-cast-2.m53 … of 'autorelease' message; a __bridge cast may result in a pointer to a destroyed object and a __b…
/llvm-project-15.0.7/llvm/docs/GlobalISel/
H A Dindex.rst81 that is destroyed after :ref:`instructionselect`.
/llvm-project-15.0.7/llvm/bindings/ocaml/executionengine/
H A Dllvm_executionengine.mli43 engine is not garbage collected and must be destroyed with [dispose ee].

123