| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | DeallocUseAfterFreeErrors.m | 14 - (void)dealloc; method 37 - (void)dealloc { method 38 [super dealloc]; // expected-note {{[super dealloc] called here}} 57 - (void)dealloc { method 58 [super dealloc]; // expected-note {{[super dealloc] called here}} 75 - (void)dealloc { method 76 [super dealloc]; // expected-note {{[super dealloc] called here}} 94 - (void)dealloc { method 107 - (void)dealloc { method 126 - (void)dealloc { method [all …]
|
| H A D | DeallocMissingRelease.m | 38 - (void)dealloc 41 [super dealloc]; 59 - (void)dealloc 87 - (void)dealloc 100 - (void)dealloc 116 - (void)dealloc 136 - (void)dealloc 155 - (void)dealloc 171 - (void)dealloc 199 - (void)dealloc [all …]
|
| H A D | MissingDealloc.m | 18 - (void)dealloc; method 25 // Do not warn about missing -dealloc method. Not enough context to know 37 // Do not warn about missing -dealloc method. These properties are not 55 // Warn about missing -dealloc method. 62 // expected-warning@+2{{'MissingDeallocWithCopyProperty' lacks a 'dealloc' instance method but must… 72 // expected-warning@+2{{'MissingDeallocWithRetainProperty' lacks a 'dealloc' instance method but mu… 147 // - Disable the missing -dealloc check for classes that subclass SenTestCase 188 // Don't crash on calls to dealloc as a class method. 193 - (void)dealloc { method 194 [DeallocingClass dealloc]; // FIXME: Should we warn on this specifically? [all …]
|
| H A D | PR2978.m | 4 // in dealloc. 8 - (void)dealloc; method 79 - (void)dealloc 83 …ivar in 'MyClass' was synthesized for an assign, readwrite property but was released in 'dealloc'}} 93 …ng {{The '_S' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}} 97 …ng {{The '_Q' ivar in 'MyClass' was synthesized for a weak property but was released in 'dealloc'}} 109 [super dealloc]; 110 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}} 111 …var in 'MyClass' was retained by a synthesized property but not released before '[super dealloc]'}}
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/ |
| H A D | dealloc-in-category.m | 1 // RUN: %check_clang_tidy %s objc-dealloc-in-category %t 5 - (void)dealloc; method 12 - (void)dealloc { method 24 + (void)dealloc { class in BarCategory 28 - (void)dealloc { method in BarCategory 29 …LINE-1]]:1: warning: category 'BarCategory' should not implement -dealloc [objc-dealloc-in-categor… 37 - (void)dealloc { method 46 - (void)dealloc; method in BazCategory
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | warn-missing-super.m | 5 - (void)dealloc; method 9 - (void)dealloc { method 18 - (void)dealloc; method 23 - (void)dealloc { method 30 - (void)dealloc; method 35 - (void)dealloc { method 36 [super dealloc]; // Shouldn't warn 44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call 48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call 57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
|
| H A D | dealloc.m | 6 - dealloc; // expected-error {{return type must be correctly specified as 'void' under ARC, instead… method 20 - (id) dealloc { // expected-error {{return type must be correctly specified as 'void' under ARC, … method 28 - (void)dealloc; method 35 - (void)dealloc; method in CAT 39 - (void)dealloc { // expected-warning {{-dealloc is being overridden in a category}} method in CAT
|
| H A D | protocol-lookup.m | 10 - dealloc; method 43 - dealloc 47 [super dealloc];
|
| /llvm-project-15.0.7/clang/docs/analyzer/checkers/ |
| H A D | dealloc_example.m | 8 @implementation MyObject // warn: lacks 'dealloc' 15 @implementation MyObject // warn: does not send 'dealloc' to super 16 - (void)dealloc { method 30 - (void)dealloc { method 31 [super dealloc]; 44 - (void)dealloc { method 46 [super dealloc];
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/objc/ |
| H A D | dealloc-in-category.rst | 1 .. title:: clang-tidy - objc-dealloc-in-category 3 objc-dealloc-in-category 6 Finds implementations of ``-dealloc`` in Objective-C categories. The category 7 implementation will override any ``-dealloc`` in the class implementation, 10 Classes implement ``-dealloc`` to perform important actions to deallocate 11 an object. If a category on the class implements ``-dealloc``, it will
|
| /llvm-project-15.0.7/mlir/test/Transforms/ |
| H A D | pipeline-data-transfer.mlir | 29 memref.dealloc %tag : memref<1 x f32> 82 memref.dealloc %2 : memref<1xi32> 83 memref.dealloc %1 : memref<4xf32, 1> 184 memref.dealloc %5 : memref<2xi32> 185 memref.dealloc %4 : memref<2xi32> 186 memref.dealloc %3 : memref<2xi32> 227 memref.dealloc %5 : memref<2xi32> 228 memref.dealloc %4 : memref<2xi32> 229 memref.dealloc %3 : memref<2xi32> 256 memref.dealloc %tag : memref<1 x i32> [all …]
|
| H A D | normalize-memrefs-ops.mlir | 21 memref.dealloc %0 : memref<1x16x14x14xf32, #map0> 25 // CHECK: memref.dealloc %[[v0]] : memref<1x16x1x1x32x64xf32> 36 memref.dealloc %0 : memref<1x16x14x14xf32, #map0> 40 // CHECK: memref.dealloc %[[v0]] : memref<1x16x14x14xf32, #map> 51 memref.dealloc %0 : memref<1x16x14x14xf32, #map0> 55 // CHECK: memref.dealloc %[[v0]] : memref<1x16x1x1x32x64xf32> 86 memref.dealloc %0 : memref<1x16x14x14xf32, #map_tile> 87 // CHECK: memref.dealloc %[[v0]] : memref<1x16x1x1x32x32xf32> 88 memref.dealloc %1 : memref<1x16x14x14xf32> 89 // CHECK: memref.dealloc %[[v1]] : memref<1x16x14x14xf32> [all …]
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | dealloc.m | 9 - (void)dealloc; method 13 [a dealloc]; 17 - (void) dealloc; method 21 - (void) dealloc { method 22 [super dealloc];
|
| /llvm-project-15.0.7/libcxxabi/src/ |
| H A D | cxa_vector.cpp | 55 st_heap_block2 ( dealloc_f dealloc, void *ptr ) in st_heap_block2() argument 56 : dealloc_ ( dealloc ), ptr_ ( ptr ), enabled_ ( true ) {} in st_heap_block2() 70 st_heap_block3 ( dealloc_f dealloc, void *ptr, size_t size ) in st_heap_block3() argument 197 void *(*alloc)(size_t), void (*dealloc)(void *)) { in __cxa_vec_new2() 204 st_heap_block2 heap(dealloc, heap_block); in __cxa_vec_new2() 226 void *(*alloc)(size_t), void (*dealloc)(void *, size_t)) { in __cxa_vec_new3() 233 st_heap_block3 heap(dealloc, heap_block, heap_size); in __cxa_vec_new3() 385 void (*destructor)(void *), void (*dealloc)(void *)) { in __cxa_vec_delete2() 389 st_heap_block2 heap ( dealloc, heap_block ); in __cxa_vec_delete2() 405 void (*destructor)(void *), void (*dealloc)(void *, size_t)) { in __cxa_vec_delete3() [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/Bufferization/Transforms/ |
| H A D | buffer-deallocation.mlir | 41 // CHECK-NEXT: memref.dealloc 245 // CHECK-NEXT: memref.dealloc 271 // CHECK: dealloc 411 // CHECK: dealloc 412 // CHECK-NEXT: dealloc 488 memref.dealloc %1 : memref<2xf32> 528 memref.dealloc %0 : memref<2xf32> 582 // CHECK-NEXT: memref.dealloc 615 // requires a dealloc. 754 // dealloc. [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/BufferizationToMemRef/ |
| H A D | bufferization-to-memref.mlir | 6 memref.dealloc %arg0 : memref<2xf32> 12 // CHECK-NEXT: memref.dealloc %[[ARG]] 20 memref.dealloc %arg0 : memref<?xf32> 28 // CHECK-NEXT: memref.dealloc %[[ARG]] 36 memref.dealloc %arg0 : memref<*xf32> 51 // CHECK: memref.dealloc 55 memref.dealloc %arg0 : memref<?xf32, #map> 69 memref.dealloc %arg0 : memref<?xf32, #map2>
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | sanitize-thread-no-checking-at-run-time.m | 8 - (void)dealloc; method 20 - (void) dealloc; method 26 - (void)dealloc { method 27 [super dealloc]; 32 // TSAN: dealloc{{.*}}) [[ATTR:#[0-9]+]]
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | sel-address.mm | 7 f(@selector(dealloc)); 9 SEL s = @selector(dealloc); 12 @selector(dealloc) = s; // expected-error {{expression is not assignable}} 14 SEL* ps2 = &@selector(dealloc);
|
| /llvm-project-15.0.7/clang/test/Rewriter/ |
| H A D | rewrite-modern-super.mm | 10 - (void)dealloc; 14 - (void)dealloc; 18 - (void)dealloc { 20 [super dealloc];
|
| /llvm-project-15.0.7/mlir/test/Dialect/Bufferization/ |
| H A D | canonicalize.mlir | 118 memref.dealloc %arg0 : memref<?xf32> 130 memref.dealloc %0 : memref<?xf32> 170 memref.dealloc %1 : memref<32xf32> 174 // CHECK: memref.dealloc 175 // CHECK: memref.dealloc 192 // CHECK: memref.dealloc %[[ARG]] 193 // CHECK: memref.dealloc %[[ARG]] 202 // CHECK: memref.dealloc %[[CLONE]] 203 // CHECK: memref.dealloc %[[CLONE]] 208 memref.dealloc %0 : memref<?xf32> [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/ |
| H A D | MemRefDialect.cpp | 47 Operation *dealloc = nullptr; in findDealloc() local 63 if (dealloc) in findDealloc() 65 dealloc = user; in findDealloc() 67 return dealloc; in findDealloc()
|
| /llvm-project-15.0.7/mlir/test/mlir-cpu-runner/ |
| H A D | copy.mlir | 69 memref.dealloc %copy_empty : memref<3x0x1xf32> 70 memref.dealloc %copy_empty_casted : memref<0x3x1xf32> 71 memref.dealloc %input_empty : memref<3x0x1xf32> 72 memref.dealloc %copy_two : memref<3x2xf32> 73 memref.dealloc %copy : memref<2x3xf32> 74 memref.dealloc %input : memref<2x3xf32> 75 memref.dealloc %scalar : memref<f32> 76 memref.dealloc %scalar_copy : memref<f32>
|
| /llvm-project-15.0.7/llvm/test/Instrumentation/ThreadSanitizer/ |
| H A D | sanitize-thread-no-checking.ll | 6 define i32 @"\01-[NoCalls dealloc]"(i32* %a) "sanitize_thread_no_checking_at_run_time" { 12 ; CHECK: define i32 @"\01-[NoCalls dealloc]"(i32* %a) 19 define i32 @"\01-[WithCalls dealloc]"(i32* %a) "sanitize_thread_no_checking_at_run_time" { 26 ; CHECK: define i32 @"\01-[WithCalls dealloc]"(i32* %a)
|
| /llvm-project-15.0.7/mlir/test/Dialect/SCF/ |
| H A D | one-shot-bufferize.mlir | 37 // CHECK-NOT: dealloc 385 // CHECK: memref.dealloc %[[w1]] 388 // CHECK: memref.dealloc %[[w0]] 392 // CHECK: memref.dealloc %[[a0]] 394 // CHECK: memref.dealloc %[[a1]] 404 // CHECK: memref.dealloc %[[b1]] 406 // CHECK: memref.dealloc %[[b0]] 438 // CHECK: memref.dealloc %[[w1]] 441 // CHECK: memref.dealloc %[[w0]] 445 // CHECK: memref.dealloc %[[a0]] [all …]
|
| /llvm-project-15.0.7/mlir/test/Conversion/MemRefToSPIRV/ |
| H A D | alloc.mlir | 12 memref.dealloc %0 : memref<4x5xf32, 3> 24 // CHECK-NOT: memref.dealloc 37 memref.dealloc %0 : memref<4x5xi16, 3> 138 // CHECK: memref.dealloc 139 memref.dealloc %arg0 : memref<4x?xf32, 3> 153 // CHECK: memref.dealloc 154 memref.dealloc %arg0 : memref<4x5xf32>
|