/external/clang/test/Analysis/ |
D | templates.cpp | 9 template<class T> class MyClass; 10 typedef MyClass<float> Mf; 13 class MyClass class 16 MyClass() {} in MyClass() function in MyClass 17 MyClass(T a); 23 template<class T> const T MyClass<T>::one = static_cast<T>(1); 24 template<class T> inline MyClass<T>::MyClass(T a){} in MyClass() function in MyClass 25 template<class T> void MyClass<T>::I() { in I() 26 static MyClass<T>* mPtr = 0; in I() 27 useBlock(^{ mPtr = new MyClass<T> (MyClass<T>::one); }); in I()
|
D | objc-properties.m | 13 @interface MyClass; interface 16 MyClass *_Z; 20 …@property (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default… 22 @property (assign) MyClass* X; // automatically synthesized, not implemented 24 @property (assign, nonatomic) MyClass* Y; // automatically synthesized, implemented 26 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter 29 - (id) initWithPtr:(MyClass*) value; argument 30 - (id) myInitWithPtr:(MyClass*) value; argument 31 - (void) someMethod: (MyClass*)In; argument 37 - (id) initWithPtr: (MyClass*) value { argument [all …]
|
D | cfg.cpp | 345 class MyClass { class 347 MyClass() {} in MyClass() function in MyClass 348 ~MyClass() {} in ~MyClass() 353 MyClass* obj = new (buffer) MyClass(); in test_placement_new() 376 MyClass* obj = new (buffer) MyClass[5]; in test_placement_new_array()
|
D | nil-receiver-undefined-larger-than-voidptr-ret.m | 8 @interface MyClass {} interface 17 @implementation MyClass implementation 28 MyClass *obj = 0; 35 MyClass *obj = 0; 41 MyClass *obj; 48 MyClass *obj = 0; 54 MyClass *obj = (id)@""; 60 MyClass *obj; 66 void handleNilPruneLoop(MyClass *obj) { 79 MyClass *obj = 0;
|
D | rdar-6600344-nil-receiver-undefined-struct-ret.m | 6 @interface MyClass {} interface 9 @implementation MyClass implementation 17 MyClass *obj = 0; 22 MyClass *obj = 0;
|
/external/clang/test/SemaObjC/ |
D | class-unavail-warning.m | 5 @interface MyClass { // expected-note 8 {{'MyClass' has been explicitly marked unavailable here}} interface 8 MyClass *ivar; // no error. 14 - (MyClass *)meth; // no error. 19 MyClass *ivar; // expected-error {{unavailable}} 21 - (MyClass *)meth; // expected-error {{unavailable}} 24 @interface MyClass (Cat1) interface in Cat1 25 - (MyClass *)meth; // no error. 28 @interface MyClass (Cat2) // no error. interface in Cat2 31 @implementation MyClass (Cat2) // expected-error {{unavailable}} implementation in Cat2 35 [MyClass new]; // expected-error {{'MyClass' is unavailable: not available}} [all …]
|
D | method-lookup-4.m | 8 @interface MyClass : NSObject {} interface 12 @interface MyClass (MyCategorie) interface in MyCategorie 16 @interface MySubClass : MyClass {} 28 @implementation MyClass implementation 35 @implementation MyClass (MyCategorie) implementation in MyCategorie 54 [MyClass rootMethod]; 56 [MyClass myClassMethod]; 59 [MyClass myClassCategoryMethod];
|
D | comptypes-1.m | 12 @interface MyClass interface 23 MyClass *obj_c = nil; 34 /* Assigning to a 'MyClass *' variable should always generate a 37 …obj_c = obj_cp; // // expected-warning {{incompatible pointer types assigning to 'MyClass *' from … 38 …obj_c = obj_C; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'Cl… 41 warning if done from a 'MyClass *' (which doesn't implement 45 … = obj_c; // expected-warning {{assigning to 'id<MyProtocol>' from incompatible type 'MyClass *'}} 53 … // expected-warning {{incompatible pointer types assigning to 'MyOtherClass *' from 'MyClass *'}} 67 /* Any comparison between 'MyClass *' and anything which is not an 'id' 69 …) ; // expected-warning {{comparison of distinct pointer types ('id<MyProtocol>' and 'MyClass *')}} [all …]
|
D | comptypes-4.m | 7 @interface MyClass @end interface 11 MyClass <MyProtocol> *obj_p; 12 MyClass *obj_cp; 15 …pected-warning {{incompatible pointer types assigning to 'MyClass<MyProtocol> *' from 'MyClass *'}}
|
D | delay-parsing-cfunctions.m | 5 @interface MyClass interface 9 @implementation MyClass implementation in MyClass 14 int bar(MyClass * myObject) { category 20 int gorfbar(MyClass * myObject) { category 27 MyClass * myObject;
|
D | comptypes-2.m | 11 @interface MyClass interface 18 MyClass *obj_c = nil; 26 obj_c = (MyClass *)obj; 27 obj_c = (MyClass *)obj_p; 28 obj_c = (MyClass *)obj_C;
|
D | property-category-impl.m | 8 @interface MyClass interface 15 @implementation MyClass implementation 19 @interface MyClass (private) interface in private 23 @implementation MyClass (private) implementation in private 27 @interface MyClass (public) interface in public 31 @implementation MyClass (public) implementation in public
|
D | comptypes-5.m | 11 @interface MyClass interface 14 @interface MyClass (Addition) <MyProtocol> interface in Addition 18 @interface MyOtherClass : MyClass 24 MyClass *obj_c_cat_p = nil; 27 MyClass<MyProtocol> *obj_c_cat_p_q = nil;
|
D | comptypes-7.m | 12 @interface MyClass interface 19 MyClass *obj_c = nil; 33 …obj_c = i; // expected-warning {{incompatible integer to pointer conversion assigning to 'MyClass … 34 …obj_c = j; // expected-warning {{incompatible pointer types assigning to 'MyClass *' from 'int *'}} 41 …expected-warning {{incompatible pointer to integer conversion assigning to 'int' from 'MyClass *'}} 46 …j = obj_c; // expected-warning {{incompatible pointer types assigning to 'int *' from 'MyClass *'}} 54 …if (obj_c == i) foo() ; // expected-warning {{comparison between pointer and integer ('MyClass *' … 55 …j_c) foo() ; // expected-warning {{comparison between pointer and integer ('int' and 'MyClass *')}} 56 …if (obj_c == j) foo() ; // expected-warning {{comparison of distinct pointer types ('MyClass *' an… 57 …j_c) foo() ; // expected-warning {{comparison of distinct pointer types ('int *' and 'MyClass *')}}
|
D | method-undef-extension-warn-1.m | 3 @interface MyClass interface 12 @interface MyClass () <P> interface in P 17 @interface MyClass (Category) interface in Category 21 @implementation MyClass // expected-warning {{method 'Pmeth1' in protocol 'P' not implemented}} \ implementation
|
/external/clang/test/SemaObjCXX/ |
D | delay-parsing-cplusfuncs.mm | 5 @interface MyClass interface 10 int bar(MyClass * myObject); 12 int gorfbar(MyClass * myObject); 15 S(MyClass *O1, MyClass *O2); 16 S(MyClass *O1); 18 MyClass * Obj1, *Obj2; 22 @implementation MyClass implementation in MyClass 27 int S::bar(MyClass * myObject) { category 33 int S::gorfbar(MyClass * myObject) { category 39 S::S(MyClass *O1, MyClass *O2) : Obj1(O1), Obj2(O2) { category [all …]
|
D | delay-parsing-func-tryblock.mm | 4 @interface MyClass interface 9 BadReturn(MyClass * myObject); 10 int bar(MyClass * myObject); 11 void MemFunc(MyClass * myObject); 13 MyClass *CObj; 16 @implementation MyClass implementation in MyClass 21 int BadReturn::bar(MyClass * myObject) { category 26 BadReturn::BadReturn(MyClass * myObject) try : CObj(myObject) { category 42 void BadReturn::MemFunc(MyClass * myObject) try { category
|
/external/slf4j/slf4j-migrator/jcl/ |
D | jclcontent.java | 8 Log l = LogFactory.getLog(MyClass.class); 9 Log mylog=LogFactory.getLog(MyClass.class); 10 Log mylog1 = LogFactory.getLog(MyClass.class); 11 Log mylog2 = LogFactory.getLog(MyClass.class); 13 Log log3=LogFactory.getFactory().getInstance(MyClass.class); 14 Log mylog4 = LogFactory.getFactory().getInstance(MyClass.class); 15 Log mylog5 = LogFactory.getLog(MyClass.class); 19 log7=LogFactory.getFactory().getInstance(MyClass.class); 20 log8 =LogFactory.getFactory().getInstance(MyClass.class); 21 myLog9 = LogFactory.getLog(MyClass.class);
|
/external/clang/test/Index/ |
D | comment-objc-decls.m | 52 * \brief MyClass - primary class. 54 @interface MyClass : NSObject<MyProto> interface 76 // CHECK: <Declaration>@interface MyClass : NSObject <MyProto> {\n id IvarMyClass;\n}\n@en… 83 * \brief - This is class extension of MyClass 85 @interface MyClass() interface in id 93 // CHECK: <Declaration>@interface MyClass () {\n id IvarMyClassExtension;\n}\n@end</Declaration> 98 * \brief MyClass (Category) is private to MyClass. 100 @interface MyClass (Category) interface in Category 102 * \brief This is private to MyClass 111 // CHECK: <Declaration>@interface MyClass (Category)\n@end</Declaration> [all …]
|
/external/clang/test/Analysis/objc/ |
D | direct-ivar-assignment-in-annotated-functions.m | 13 @interface MyClass; interface 18 …- (void) someMethod: (MyClass*)In __attribute__((annotate("objc_no_direct_instance_variable_assign… 19 - (void) someMethodNotAnnaotated: (MyClass*)In; argument 24 MyClass *_Z; 26 MyClass* _NotA __attribute__((annotate("objc_allow_direct_instance_variable_assignment"))); 29 …@property (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default… 31 @property (assign) MyClass* X; // automatically synthesized, not implemented 33 @property (assign, nonatomic) MyClass* Y; // automatically synthesized, implemented 35 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter 38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated [all …]
|
/external/clang/test/CodeGenObjCXX/ |
D | address-safety-attr.mm | 4 @interface MyClass interface 8 @implementation MyClass implementation 10 // WITHOUT: +[MyClass load]{{.*}}#0 11 // ASAN: +[MyClass load]{{.*}}#0 14 // WITHOUT: +[MyClass addressSafety:]{{.*}}#0 15 // ASAN: +[MyClass addressSafety:]{{.*}}#0
|
/external/compiler-rt/test/tsan/Darwin/ |
D | objc-race.mm | 8 @interface MyClass : NSObject { interface 14 @implementation MyClass implementation 26 MyClass *my_object = [MyClass new]; 51 // CHECK: #0 -[MyClass method:] 53 // CHECK: #0 -[MyClass method:]
|
/external/valgrind/memcheck/tests/ |
D | leak_cpp_interior.cpp | 12 class MyClass class 17 ~MyClass() in ~MyClass() 93 MyClass *ptr; 94 MyClass *ptr2; 107 ptr = new MyClass[3]; // interior ptr. in doit() 115 ptr2 = new MyClass[0]; // "interior but exterior ptr". in doit()
|
/external/clang/test/Analysis/inlining/ |
D | InlineObjCInstanceMethod.m | 32 @interface MyClass : MyParent interface 34 @implementation MyClass implementation 40 // Get the dynamic type info from a cast (from id to MyClass*). 42 MyClass *a = [[self alloc] init]; 48 MyClass *a = [[MyClass alloc] init]; 53 + (int)testParam: (MyClass*) a { argument 101 void randomlyMessageAnObject(MyClass *arr[], int i) {
|
/external/clang/test/CodeGenObjC/ |
D | weak-metaclass-visibility.m | 12 @interface MyClass : NSObject interface 17 @implementation MyClass implementation 22 [MyClass someClassMethod]; 29 MyClass *wrapper = [MyClass alloc];
|