Home
last modified time | relevance | path

Searched refs:objects (Results 1 – 25 of 588) sorted by relevance

12345678910>>...24

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dnon-copyable-objects.rst1 .. 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 Dnsinvocation-argument-lifetime.m42 …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 Dassert-equals.m9 // 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 D2007-04-05-PadBeforeZeroLengthField.c6 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 Dtemporary-objects.rst1 .. 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 Dobjcmt-instancetype.m31 + (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 Dobjcmt-instancetype.m.result31 + (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 Dobjcmt-subscripting-unavailable.m.result20 + (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 Dobjcmt-subscripting-unavailable.m20 + (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 Dobjcmt-subscripting-literals-in-arc.m.result34 + (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 Dobjcmt-subscripting-literals-in-arc.m34 + (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 Dobjc-avoid-nsobject-new.m27 …// 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 Dunused-raii.rst6 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 Dtarget_data_map_pointer_array_subscript_codegen.cpp33 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 Dcocoa-api-usage.m27 + (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 Dcocoa-api-usage.m.fixed27 + (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 Darc-decls.m70 …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 Dfio38-c.rst3 :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 Dprepare-code-coverage-artifact.py41 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 Dfindsym.pl22 @objects = grep(/l?i?b?LLVM.*\.[oa]$/,sort(@files));
25 foreach $lib (@objects) {
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dtypechecking-else.s4 objects: label
5 .tabletype objects,externref
19 table.get objects
/llvm-project-15.0.7/clang/test/Index/
H A Dannotate-literals.m25 + (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 DRunLoopAutoreleaseLeakChecker.m32 …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 Dstack-id-assert.mir2 # 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 Dstatically-constructed-objects.rst1 .. 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

12345678910>>...24