Home
last modified time | relevance | path

Searched refs:retained (Results 1 – 25 of 77) sorted by relevance

1234

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dwarn-retain-cycle.m11 [x setBlock: // expected-note {{block will be retained by the captured object}}
13 x.block = // expected-note {{block will be retained by the captured object}}
48 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
49 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
63 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
69 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
71 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
73 …^{ (void) sizeof(self); // expected-note {{block will be retained by an object strongly retained b…
81 …d-warning {{retain cycle}} expected-note {{block will be retained by an object strongly retained b…
93 …block = ^{ // expected-note {{block will be retained by an object strongly retained by the capture…
[all …]
H A Darc-unsafe-assigns.m24 self.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
25 …self->unsafe_ivar = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretaine…
26 …self.unsafe_prop = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe p…
27 …self->unsafe_ivar = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_…
30 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
31 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
36 f.unsafe_prop = [Foo new]; // expected-warning {{assigning retained object to unsafe property}}
39 unsafe_var = [Foo new]; // expected-warning {{assigning retained object to unsafe_unretained}}
40 …unsafe_var = [[Foo alloc] init]; // expected-warning {{assigning retained object to unsafe_unretai…
H A Dproperty-ns-returns-not-retained-attr.m11 … expected-warning {{property declared as returning non-retained objects; getter returning retained…
/llvm-project-15.0.7/lld/test/ELF/
H A Dgc-sections-startstop.s1 ## Check that group members are retained or discarded as a unit.
15 ## The referenced __data is retained.
18 ## __libc_atexit is retained even if there is no reference, as a workaround for
26 ## If -z nostart-stop-gc, sections whose names are C identifiers are retained by
H A Dgc-sections-linkorder2.s10 ## .foo is retained, so sections linking to it are retained as well.
H A Dgc-sections-group-debug.s2 ## Check that group members are retained, if no member has the SHF_ALLOC flag.
H A Dgc-sections-startstop-hint.s12 # CHECK-NEXT: >>> the encapsulation symbol needs to be retained under --gc-sections properly; consi…
H A Dgc-sections-group.s2 ## Check that group members are retained or discarded as a unit, and
10 ## .mynote.ccc is retained because it is not in a group.
H A Drelocatable-comdat.s2 ## Test that SHT_GROUP sections are retained in relocatable output. The content
/llvm-project-15.0.7/clang/test/Analysis/
H A DDeallocMissingRelease.m103 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass2' was retained by a sy…
119 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'MyPropertyClass3' was retained by a sy…
175 …// expected-warning@-2{{The '_ivar' ivar in 'MyPropertyClassWithReturnInDealloc' was retained by a…
221 …e '_ivar' ivar in 'MyPropertyClassWithNeitherReturnNorSuperDealloc' was retained by a synthesized …
263 …cted-warning {{The '_ivar2' ivar in 'ClassWithControlFlowInRelease' was retained by a synthesized …
299 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'ClassWithNildOutIvar' was retained by …
320 …[super dealloc]; // expected-warning {{The '_ivar' ivar in 'ClassWithUpdatedIvar' was retained by …
557 …d-warning {{The '_propInSub' ivar in 'ClassWithInlinedSuperDealloc' was retained by a synthesized …
818 …// expected-warning@-1 {{The 'nonInputIvar' ivar in 'ImmediateSubCIFilter' was retained by a synth…
874 // retaining value (unike iOS, where it is retained). This means that
[all …]
H A DPR2978.m110 …// expected-warning@-1{{The '_Y' ivar in 'MyClass' was retained by a synthesized property but not …
111 …// expected-warning@-2{{The '_W' ivar in 'MyClass' was retained by a synthesized property but not …
H A DMissingDealloc.m26 // whether the ivar is retained or not.
38 // retained or synthesized.
/llvm-project-15.0.7/clang/docs/analyzer/checkers/
H A Ddealloc_example.m29 // warn: var was retained but wasn't released
43 // warn: var wasn't retained but was released
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dverifier-invalid-disubprogram.ll37 ; CHECK: invalid retained nodes list
41 ; CHECK: invalid retained nodes, expected DILocalVariable or DILabel
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Demit-relocs-rela-dyn.s4 ## section. The empty .rela.dyn may be retained due to a reference. Don't crash.
H A Demit-reloc.s2 ## Test that input SHT_REL[A] retained by --emit-relocs are not matched by input section descriptio…
H A Ddiscard-group.s2 ## For --gc-sections, group members are retained or discarded as a unit.
/llvm-project-15.0.7/llvm/test/Verifier/
H A Ddbg-null-retained-type.ll2 ; CHECK: invalid retained type
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dcheck-with-pch.m14 self->x = [NSObject new]; // expected-error {{assigning retained object}}
H A Dchecking.m76 …a 'delegate' message; the object that was passed to 'setDelegate:' may not be properly retained}} \
78 …a 'delegate' message; the object that was passed to 'setDelegate:' may not be properly retained}} \
318 value = [NSObject new]; // expected-error {{assigning retained object}}
331 self->x = [NSObject new]; // expected-error {{assigning retained object}}
344 // expected-note {{retained by the captured object}}
/llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/Inputs/
H A Don_the_fly_arg_change.c.expected15 // Manual CHECK line should be retained:
/llvm-project-15.0.7/lld/test/COFF/
H A Dassociative-comdat-mingw-weak.s14 # retained, while .xdata$bar wasn't. This *must* be 0x24
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/X86/
H A Dmlicm-hoist-pre-regalloc.mir3 ; Line numbers should not be retained when loop invariant instructions are hoisted.
18 ; out of a loop the debug information is not retained.
/llvm-project-15.0.7/llvm/test/TableGen/
H A D2010-03-24-PrematureDefaults.td19 // was processed, X would be set correctly, but Bits retained the default
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dlto_cspgo_gen.ll17 ;; declaration is retained.

1234