/external/clang/test/Rewriter/ |
rewrite-modern-atautoreleasepool.mm | 12 id ivar; 23 return ivar;
|
rewrite-cast-ivar-access.mm | 12 int ivar; 19 int v = ((G *)arg)->ivar; 49 // CHECK-LP: ((struct G_IMPL *)arg)->ivar
|
rewrite-cast-ivar-modern-access.mm | 11 int ivar; 18 int v = ((G *)arg)->ivar;
|
/external/clang/test/SemaObjC/ |
ivar-in-implementations.m | 7 id IVAR; // expected-note {{previous definition is here}} 19 int IVAR; // expected-error {{instance variable is already declared}}
|
ivar-lookup.m | 20 @interface Ivar 25 A *Ivar; 32 int *ip = [Ivar method]; // expected-warning{{incompatible pointer types initializing 'int *' with an expression of type 'float *'}} 54 int IVAR; // expected-note 4 {{previous definition is here}} 60 int IVAR; // expected-error {{instance variable is already declared}} 67 int IVAR; // expected-error {{instance variable is already declared}} 73 int IVAR; // expected-error {{instance variable is already declared}} 80 int IVAR; // expected-error {{instance variable is already declared}}
|
error-property-gc-attr.m | 6 id IVAR; // expected-note {{instance variable is declared here}} 22 @synthesize pweak=IVAR; // expected-error {{existing instance variable 'IVAR' for __weak property 'pweak' must be __weak}}
|
unused-backing-ivar-warning.m | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-property-ivar -verify -Wno-objc-root-class %s 18 - (void) setX:(id)newX { // expected-warning {{ivar '_x' which backs the property is not referenced in this property's accessor}} 21 - (id) y { // expected-warning {{ivar '_y' which backs the property is not referenced in this property's accessor}} 25 - (void) setV:(id)newV { // expected-warning {{ivar '_v' which backs the property is not referenced in this property's accessor}} 29 // No warning here because there is no backing ivar. 38 - (id) u { // expected-warning {{ivar '_u' which backs the property is not referenced in this property's accessor}} 48 - (void) setT:(id)newT { // expected-warning {{ivar 'tIvar' which backs the property is not referenced in this property's accessor}} 122 - (long) q { return 0; } // expected-warning {{ivar 'q' which backs the property is not referenced in this property's accessor}} 123 - (void) setQ : (long) val { } // expected-warning {{ivar 'q' which backs the property is not referenced in this property's accessor}} 124 - (long) r { [self Meth]; return p; } // expected-warning {{ivar 'r' which backs the property is not referenced in this property's accessor} [all...] |
warn-direct-ivar-access.m | 1 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -fobjc-runtime-has-weak -Wdirect-ivar-access -verify -Wno-objc-root-class %s 46 id ivar; 52 x->ivar = 0; // expected-error {{dereferencing a __weak pointer is not allowed}} 53 return y ? y->ivar // expected-error {{dereferencing a __weak pointer is not allowed}} 54 : (*x).ivar; // expected-error {{dereferencing a __weak pointer is not allowed}}
|
DoubleMethod.m | 5 int ivar;
|
property-and-class-extension.m | 6 In particular, when searching for an ivar to back an @synthesize, do look at ivars in the class's own class
|
/external/lldb/test/lang/objc/hidden-ivars/ |
main.m | 51 printf("ivar value = %u\n", (unsigned)j->_definer->foo); // Set breakpoint 0 here. 52 printf("ivar value = %u\n", (unsigned)k->foo); // Set breakpoint 1 here.
|
/external/clang/test/CodeGenObjC/ |
optimize-ivar-offset-load.m | 29 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_SampleClass._value", align 8 31 // CHECK: [[ADDPTR:%.*]] = getelementptr inbounds i8* [[THREE]], i64 [[IVAR]] 48 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_SampleClass._value", align 8, !invariant.load 63 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_SampleClass._value", align 8, !invariant.load
|
ivar-invariant.m | 32 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_Derived.member", !invariant.load 44 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_Derived.member"{{$}} 55 // CHECK: [[IVAR:%.*]] = load i64* @"OBJC_IVAR_$_Derived.member", !invariant.load
|
objc-assign-ivar.m | 19 id ivar; 37 ASSIGNTEST(foo->ivar, IvarAssigns); // objc_assign_ivar
|
mrr-autorelease.m | 8 id ivar;
|
synthesize_ivar.m | 17 // Test for synthesis of ivar for a property
|
/external/clang/test/Index/ |
index-pch-objc.m | 10 // CHECK: [indexDeclaration]: kind: objc-ivar | name: _foo
|
/external/llvm/test/CodeGen/AArch64/ |
arm64-fold-address.ll | 17 %ivar = load i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 19 %add.ptr = getelementptr inbounds i8* %0, i64 %ivar 22 %add.ptr.sum = add i64 %ivar, 8 26 %add.ptr.sum17 = add i64 %ivar, 16 30 %add.ptr4.1.sum = add i64 %ivar, 24 49 %ivar = load i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 51 %add.ptr = getelementptr inbounds i8* %0, i64 %ivar 54 %add.ptr10.1 = getelementptr inbounds i8* %0, i64 %ivar 57 %add.ptr4.1 = getelementptr inbounds i8* %0, i64 %ivar 60 %add.ptr4.1.1 = getelementptr inbounds i8* %0, i64 %ivar [all...] |
arm64-2012-05-22-LdStOptBug.ll | 18 %ivar = load i64* @"OBJC_IVAR_$_UIScreen._bounds", align 8, !invariant.load !4 20 %add.ptr = getelementptr inbounds i8* %0, i64 %ivar 23 %add.ptr.sum = add i64 %ivar, 8 27 %add.ptr.sum17 = add i64 %ivar, 16 31 %add.ptr4.1.sum = add i64 %ivar, 24
|
/external/clang/test/SemaObjCXX/ |
propert-dot-error.mm | 58 int ivar; 66 d->Forward::ivar = 12; // expected-error{{instance variable access cannot be qualified with 'Forward::'}} 68 d->D::ivar = 12; // expected-error{{'D' is not a class, namespace, or scoped enumeration}}
|
message.mm | 14 typedef struct { int x; } ivar; 17 id ivar; 33 [ivar method]; 41 [ivar method]; // expected-error{{receiver type 'ivar' is not an Objective-C class}}
|
/external/clang/test/Analysis/objc/ |
direct-ivar-assignment-in-annotated-functions.m | 29 @property (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name 35 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter 36 @property (readonly) id nonSynth; // non-synthesized, explicitly implemented to return ivar with expected name 38 @property (assign) MyClass* NotA; // warnings should be suppressed, backing ivar is annotated
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.cpp | 32 const ObjCIvarDecl *Ivar) { 33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); 37 // decl context for the ivar. 39 // If we know have an implementation (and the ivar is in it) then 56 if (Ivar == IVD) 60 assert(Index < RL->getFieldCount() && "Ivar is not inside record layout!"); 67 const ObjCIvarDecl *Ivar) { 68 return LookupFieldBitOffset(CGM, OID, nullptr, Ivar) / 74 const ObjCIvarDecl *Ivar) { 75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / [all...] |
/external/clang/test/Analysis/ |
objc-properties.m | 20 @property (assign, nonatomic) MyClass* A; // explicitely synthesized, not implemented, non-default ivar name 26 @property (assign, nonatomic) MyClass* Z; // non-synthesized ivar, implemented setter 27 @property (readonly) id nonSynth; // non-synthesized, explicitly implemented to return ivar with expected name
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IvarInvalidationChecker.cpp | 18 // to invalidate the ivar. An ivar or property are considered to be 69 /// Has the ivar been invalidated? 72 /// The methods which can be used to invalidate the ivar. 110 /// Property setter to ivar mapping. 113 /// Property getter to ivar mapping. 116 /// Property to ivar mapping. 130 /// Mark the given ivar as invalidated. 133 /// Checks if IvarRef refers to the tracked IVar, if yes, marks it as 137 /// Checks if ObjCPropertyRefExpr refers to the tracked IVar, if yes, mark [all...] |