Home
last modified time | relevance | path

Searched refs:MyObject (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/
H A Dexternal-lib.cpp8 struct MyObject;
9 typedef MyObject *MyObjectRef;
12 MyObject *ObjectCreate();
13 long ObjectRead(MyObject *);
14 void ObjectWrite(MyObject *, long);
15 void ObjectWriteAnother(MyObject *, long);
18 struct MyObject { struct
41 MyObject *ObjectCreate() { in ObjectCreate()
42 MyObject *ref = (MyObject *)malloc(sizeof(MyObject)); in ObjectCreate()
49 long ObjectRead(MyObject *ref) { in ObjectRead()
[all …]
H A Dexternal-noninstrumented-module.cpp9 struct MyObject;
10 typedef MyObject *MyObjectRef;
13 MyObject *ObjectCreate();
14 long ObjectRead(MyObject *);
15 void ObjectWrite(MyObject *, long);
16 void ObjectWriteAnother(MyObject *, long);
H A Dexternal.cpp29 struct MyObject;
30 typedef MyObject *MyObjectRef;
33 MyObject *ObjectCreate();
34 long ObjectRead(MyObject *);
35 void ObjectWrite(MyObject *, long);
36 void ObjectWriteAnother(MyObject *, long);
/llvm-project-15.0.7/clang/docs/analyzer/checkers/
H A Ddealloc_example.m3 @interface MyObject : NSObject { interface
8 @implementation MyObject // warn: lacks 'dealloc' implementation
11 @interface MyObject : NSObject {} interface
15 @implementation MyObject // warn: does not send 'dealloc' to super implementation
21 @interface MyObject : NSObject { interface
27 @implementation MyObject implementation
35 @interface MyObject : NSObject { interface
41 @implementation MyObject implementation
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dclass-property-inheritance.m3 @class MyObject;
7 @property(nullable, readonly, strong, class) MyObject *foo;
11 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on …
17 @property(nullable, readonly, strong) MyObject *foo;
21 @property(nonnull, readonly, copy, class) MyObject *foo; // no-warning
25 @property(nullable, readonly, copy) MyObject *foo; // expected-warning {{'copy' attribute on proper…
30 @property(nullable, readonly, strong, class) MyObject *foo;
34 @property(nonnull, readonly, copy) MyObject *foo; // no-warning
38 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on …
H A DContClassPropertyLookup.m4 @interface MyObject { interface
9 @interface MyObject(whatever) interface in whatever
13 @interface MyObject() interface in assign
17 @implementation MyObject implementation
H A Dwarn-strict-selector-match.m32 @protocol MyObject protocol
41 - (id)initWithData:(id<MyObject, MyCoding>)data; // expected-note {{using}}
48 + (NTGridDataObject*)dataObject:(id<MyObject, MyCoding>)data;
52 - (id)initWithData:(id<MyObject, MyCoding>)data { // expected-note {{also found}}
55 + (NTGridDataObject*)dataObject:(id<MyObject, MyCoding>)data
H A Dproperty-category-2.m10 @interface MyObject { float anotherFloat; } interface
13 @interface MyObject (CAT) <MyProtocol> interface in CAT
16 @implementation MyObject (CAT) // expected-warning {{property 'anotherFloat' requires method}} \ implementation in CAT
H A Dwarn-direct-ivar-access.m4 __attribute__((objc_root_class)) @interface MyObject { interface
15 @implementation MyObject implementation
33 MyObject * foo (void)
35 MyObject* p=0;
H A Dselector-4.m17 @interface MyObject : NSObject interface
25 @implementation MyObject implementation
H A Dproperty-category-4.m114 @interface MyObject interface
118 @interface MyObject (CAT) <MyProtocol> interface in CAT
121 @implementation MyObject (CAT) // expected-warning {{property 'anotherFloat' requires method 'anoth… implementation in CAT
H A Dinfer-availability-from-init.m9 @interface MyObject : NSObject interface
14 [MyObject new]; // expected-error{{'new' is unavailable}}
/llvm-project-15.0.7/lldb/test/API/lang/objcxx/class-name-clash/
H A Dmain.mm4 class MyObject { int i = 42; };
5 NS::MyObject globalObject;
8 @interface MyObject: NSObject interface
15 MyObject *o = [MyObject alloc];
16 return 0; //% self.expect("fr var o", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["(MyObject"]);
H A Dmyobject.mm3 @interface MyObject : NSObject interface
6 @implementation MyObject implementation
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dline-generation-test.m8 __attribute__((objc_root_class)) @interface MyObject { interface
17 @implementation MyObject implementation
28 MyObject * foo ()
30 MyObject* p;
/llvm-project-15.0.7/lldb/test/API/lang/objcxx/hide-runtime-values/
H A Dmain.mm11 @interface MyObject : NSObject {} interface
15 @implementation MyObject implementation
24 id obj = [MyObject new];
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Ddestroy.mm4 @class MyObject;
9 MyObject *myobject;
29 MyObject *myobject;
/llvm-project-15.0.7/clang/test/OpenMP/
H A Dtarget_data_map_pointer_array_subscript_codegen.cpp31 } MyObject; typedef
33 MyObject *objects;
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dsanitize-thread-no-checking-at-run-time.m16 @interface MyObject : NSObject { interface
23 @implementation MyObject implementation
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dns_consume_null_check.m7 @interface MyObject : NSObject interface
13 MyObject *x;
88 id obj = [MyObject m0:a];
99 id obj = [MyObject m0:a];
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnonnull.m3 @interface MyObject interface
9 void testNonNullMethod(int *p, MyObject *obj) {
16 @interface Subclass : MyObject
/llvm-project-15.0.7/clang/test/Modules/
H A Dredeclarations.m4 @interface MyObject : NSObject interface
/llvm-project-15.0.7/lldb/test/API/lang/objc/objc-optimized/
H A Dmain.m40 NSLog(@"MyObject %@", [my_object description]);
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/darwin/
H A Ddispatch-once-nonstatic.mm43 @interface MyObject { interface
/llvm-project-15.0.7/clang/test/Parser/
H A Dmethod-prototype-1.m2 @interface MyObject interface

12