| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | non-copyable-objects.rst | 1 .. title:: clang-tidy - misc-non-copyable-objects 3 misc-non-copyable-objects 8 The check flags dereferences and non-pointer declarations of objects that are 9 not meant to be passed by value, such as C FILE objects or POSIX 10 ``pthread_mutex_t`` objects.
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/objc/ |
| H A D | nsinvocation-argument-lifetime.m | 42 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 45 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 48 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 51 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 56 …0: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with ownership __… 62 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 84 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 86 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __… 93 …0: warning: NSInvocation '-getReturnValue:' should only pass pointers to objects with ownership __… 101 …rning: NSInvocation '-getArgument:atIndex:' should only pass pointers to objects with ownership __…
|
| H A D | assert-equals.m | 9 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use XCTAssertEqualObjects for comparing objects 12 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use XCTAssertEqualObjects for comparing objects 15 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use XCTAssertEqualObjects for comparing objects 18 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use XCTAssertEqualObjects for comparing objects
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | 2007-04-05-PadBeforeZeroLengthField.c | 6 union A objects[]; member 8 void foo(union A * objects, struct B *array, unsigned long k) in foo() argument 9 { array->objects[k] = objects[k]; } in foo()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/zircon/ |
| H A D | temporary-objects.rst | 1 .. title:: clang-tidy - zircon-temporary-objects 3 zircon-temporary-objects 6 Warns on construction of specific temporary objects in the Zircon kernel. 36 Note that objects must be explicitly specified in order to be flagged, 37 and so objects that inherit a specified object will not be flagged. 39 This check matches temporary objects without regard for inheritance and so a
|
| /llvm-project-15.0.7/clang/test/ARCMT/ |
| H A D | objcmt-instancetype.m | 31 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 35 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 47 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 54 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 73 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 76 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 78 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 81 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | objcmt-instancetype.m.result | 31 + (instancetype)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 35 - (instancetype)initWithObjects:(const id [])objects count:(unsigned long)cnt; 47 + (instancetype)arrayWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 54 - (instancetype)initWithObjects:(const id [])objects count:(unsigned long)cnt { return 0; } 73 + (instancetype)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigne… 76 + (instancetype)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 78 - (instancetype)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long… 81 - (instancetype)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | objcmt-subscripting-unavailable.m.result | 20 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 24 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 39 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 44 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | objcmt-subscripting-unavailable.m | 20 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 24 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 39 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 44 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | objcmt-subscripting-literals-in-arc.m.result | 34 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 38 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 62 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 67 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | objcmt-subscripting-literals-in-arc.m | 34 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 38 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 62 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 67 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/ |
| H A D | objc-avoid-nsobject-new.m | 27 …// CHECK-MESSAGES: [[@LINE-1]]:22: warning: do not create objects with +new [google-objc-avoid-nso… 32 …// CHECK-MESSAGES: [[@LINE-1]]:27: warning: do not create objects with +new [google-objc-avoid-nso… 38 …// CHECK-MESSAGES: [[@LINE-1]]:31: warning: do not create objects with +new [google-objc-avoid-nso… 59 …// CHECK-MESSAGES: [[@LINE-1]]:14: warning: do not create objects with +new [google-objc-avoid-nso… 62 …// CHECK-MESSAGES: [[@LINE-1]]:14: warning: do not create objects with +new [google-objc-avoid-nso… 69 …// CHECK-MESSAGES: [[@LINE-1]]:21: warning: do not create objects with +new [google-objc-avoid-nso…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | unused-raii.rst | 6 Finds temporaries that look like RAII objects. 26 objects and there's no difference when they are deleted. 28 - Ignore objects at the end of a compound statement (doesn't change behavior). 30 - Ignore objects returned from a call.
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | target_data_map_pointer_array_subscript_codegen.cpp | 33 MyObject *objects; variable 46 #pragma omp target enter data map(to : objects [1:1]) in main() 52 #pragma omp target enter data map(to : objects[1].arr [0:1]) in main()
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | cocoa-api-usage.m | 27 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 31 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 50 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 53 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 55 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 58 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | cocoa-api-usage.m.fixed | 27 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 31 - (id)initWithObjects:(const id [])objects count:(unsigned long)cnt; 50 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 53 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 55 - (id)initWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 58 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys;
|
| H A D | arc-decls.m | 70 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 71 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 72 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 74 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 75 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 76 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note{{… 93 …ewFoo; // expected-error {{property follows Cocoa naming convention for returning 'owned' objects}} 98 …ewBar; // expected-error {{property follows Cocoa naming convention for returning 'owned' objects}} 100 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note {… 103 …d-error {{property follows Cocoa naming convention for returning 'owned' objects}} expected-note {…
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | fio38-c.rst | 3 :http-equiv=refresh: 5;URL=../misc/non-copyable-objects.html 9 `misc-non-copyable-objects <../misc/non-copyable-objects.html>`_ for more
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | prepare-code-coverage-artifact.py | 41 objects = [] 44 objects.append(binary) 46 objects.extend(('-object', binary)) 47 invocation = [host_llvm_cov, 'show'] + objects + ['-format', 'html', 55 subprocess.check_call([host_llvm_cov, 'report'] + objects +
|
| H A D | findsym.pl | 22 @objects = grep(/l?i?b?LLVM.*\.[oa]$/,sort(@files)); 25 foreach $lib (@objects) {
|
| /llvm-project-15.0.7/llvm/test/MC/WebAssembly/ |
| H A D | typechecking-else.s | 4 objects: label 5 .tabletype objects,externref 19 table.get objects
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | annotate-literals.m | 25 + (id)arrayWithObjects:(const id [])objects count:(unsigned long)cnt; 29 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt; 41 id objects = @[ o1, o2 ]; 52 // CHECK-LITERALS: Identifier: "objects" [41:6 - 41:13] VarDecl=objects:41:6 (Definition) 53 // CHECK-LITERALS: Punctuation: "=" [41:14 - 41:15] VarDecl=objects:41:6 (Definition)
|
| /llvm-project-15.0.7/clang/test/Analysis/Checkers/ |
| H A D | RunLoopAutoreleaseLeakChecker.m | 32 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 51 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 59 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 73 void runloop_init_after(void) { // No warning: objects created after the loop 84 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 94 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 125 …NSObject *object = [[NSObject alloc] init]; // expected-warning{{Temporary objects allocated in th… 159 …[i foo]; // no-crash // expected-warning{{Temporary objects allocated in the autorelease pool of l…
|
| /llvm-project-15.0.7/llvm/test/CodeGen/MIR/AMDGPU/ |
| H A D | stack-id-assert.mir | 2 # MFI can contain some dead stack objects after PEI pass, but objects storage 3 # contains not dead objects only. So using objects IDs as offset in the storage
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/fuchsia/ |
| H A D | statically-constructed-objects.rst | 1 .. title:: clang-tidy - fuchsia-statically-constructed-objects 3 fuchsia-statically-constructed-objects 6 Warns if global, non-trivial objects with static storage are constructed, unless
|