/external/llvm-project/clang/test/SemaObjCXX/ |
D | ivar-lookup.mm | 3 @interface Ivar interface 8 A *Ivar; field 15 int *ip = [Ivar method]; // Okay; calls A's method on the instance variable Ivar. 16 // Note that Objective-C calls Ivar's method.
|
/external/clang/test/SemaObjCXX/ |
D | ivar-lookup.mm | 3 @interface Ivar interface 8 A *Ivar; field 15 int *ip = [Ivar method]; // Okay; calls A's method on the instance variable Ivar. 16 // Note that Objective-C calls Ivar's method.
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 32 const ObjCIvarDecl *Ivar) { in LookupFieldBitOffset() argument 33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); in LookupFieldBitOffset() 56 if (Ivar == IVD) in LookupFieldBitOffset() 67 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 68 return LookupFieldBitOffset(CGM, OID, nullptr, Ivar) / in ComputeIvarBaseOffset() 74 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 75 return LookupFieldBitOffset(CGM, OID->getClassInterface(), OID, Ivar) / in ComputeIvarBaseOffset() 82 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset() argument 83 return LookupFieldBitOffset(CGM, ID, ID->getImplementation(), Ivar); in ComputeBitfieldBitOffset() 89 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset() argument [all …]
|
D | CGObjCRuntime.h | 80 const ObjCIvarDecl *Ivar); 83 const ObjCIvarDecl *Ivar); 88 const ObjCIvarDecl *Ivar, 265 const ObjCIvarDecl *Ivar, 269 const ObjCIvarDecl *Ivar) = 0; 303 const ObjCIvarDecl *Ivar);
|
D | CGValue.h | 184 bool Ivar:1; variable 233 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false; 264 bool isObjCIvar() const { return Ivar; } in isObjCIvar() 265 void setObjCIvar(bool Value) { Ivar = Value; } in setObjCIvar()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 115 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar() local 121 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar() 122 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() || in checkObjCUnusedIvar() 123 Ivar->hasAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar() 124 Ivar->isUnnamedBitfield()) in checkObjCUnusedIvar() 127 M[Ivar] = Unused; in checkObjCUnusedIvar()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 114 for (const auto *Ivar : ID->ivars()) { in checkObjCUnusedIvar() local 120 if (Ivar->getAccessControl() != ObjCIvarDecl::Private || in checkObjCUnusedIvar() 121 Ivar->hasAttr<UnusedAttr>() || Ivar->hasAttr<IBOutletAttr>() || in checkObjCUnusedIvar() 122 Ivar->hasAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar() 123 Ivar->isUnnamedBitfield()) in checkObjCUnusedIvar() 126 M[Ivar] = Unused; in checkObjCUnusedIvar()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 32 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 33 return CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar) / in ComputeIvarBaseOffset() 39 const ObjCIvarDecl *Ivar) { in ComputeIvarBaseOffset() argument 41 Ivar) / in ComputeIvarBaseOffset() 48 const ObjCIvarDecl *Ivar) { in ComputeBitfieldBitOffset() argument 50 Ivar); in ComputeBitfieldBitOffset() 56 const ObjCIvarDecl *Ivar, in EmitValueForIvarAtOffset() argument 64 Ivar->getUsageType(ObjectPtrTy).withCVRQualifiers(CVRQualifiers); in EmitValueForIvarAtOffset() 69 if (!Ivar->isBitField()) { in EmitValueForIvarAtOffset() 90 CGF.CGM.getContext().lookupFieldBitOffset(OID, nullptr, Ivar); in EmitValueForIvarAtOffset() [all …]
|
D | CGObjCRuntime.h | 81 const ObjCIvarDecl *Ivar); 84 const ObjCIvarDecl *Ivar); 89 const ObjCIvarDecl *Ivar, 306 const ObjCIvarDecl *Ivar, 310 const ObjCIvarDecl *Ivar) = 0; 345 const ObjCIvarDecl *Ivar);
|
D | CGValue.h | 200 bool Ivar:1; variable 245 this->Ivar = this->ObjIsArray = this->NonGC = this->GlobalObjCRef = false; in Initialize() 272 bool isObjCIvar() const { return Ivar; } in isObjCIvar() 273 void setObjCIvar(bool Value) { Ivar = Value; } in setObjCIvar()
|
D | CGObjCGNU.cpp | 518 const ObjCIvarDecl *Ivar) { in GetIVarOffsetVariableName() argument 520 + '.' + Ivar->getNameAsString(); in GetIVarOffsetVariableName() 525 const ObjCIvarDecl *Ivar); 650 llvm::Value *BaseValue, const ObjCIvarDecl *Ivar, 654 const ObjCIvarDecl *Ivar) override; 1673 const ObjCIvarDecl *Ivar) override { in GetIVarOffsetVariableName() argument 1675 CGM.getContext().getObjCEncodingForType(Ivar->getType(), TypeEncoding); in GetIVarOffsetVariableName() 1680 + '.' + Ivar->getNameAsString() + '.' + TypeEncoding; in GetIVarOffsetVariableName() 1685 const ObjCIvarDecl *Ivar) override { in EmitIvarOffset() argument 1686 const std::string Name = GetIVarOffsetVariableName(Ivar->getContainingInterface(), Ivar); in EmitIvarOffset() [all …]
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1021 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local 1031 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl() 1046 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl() 1070 if (!Ivar) { in ActOnPropertyImplDecl() 1107 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl() 1114 if (!Ivar) { in ActOnPropertyImplDecl() 1139 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl() 1149 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl() 1151 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl() 1152 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 1209 ObjCIvarDecl *Ivar = nullptr; in ActOnPropertyImplDecl() local 1219 Ivar = IDecl->lookupInstanceVariable(PropertyIvar, ClassDeclared); in ActOnPropertyImplDecl() 1234 setImpliedPropertyAttributeForReadOnlyProperty(property, Ivar); in ActOnPropertyImplDecl() 1257 if (!Ivar) { in ActOnPropertyImplDecl() 1294 << PropertyId << (Ivar == nullptr) << PropertyIvar in ActOnPropertyImplDecl() 1301 if (!Ivar) { in ActOnPropertyImplDecl() 1326 Ivar = ObjCIvarDecl::Create(Context, ClassImpDecl, in ActOnPropertyImplDecl() 1348 Ivar->setInvalidDecl(); in ActOnPropertyImplDecl() 1349 ClassImpDecl->addDecl(Ivar); in ActOnPropertyImplDecl() 1350 IDecl->makeDeclVisibleInContext(Ivar); in ActOnPropertyImplDecl() [all …]
|
/external/llvm-project/clang/test/Sema/ |
D | invalid-bitwidth-expr.mm | 3 @interface Ivar interface in Ivar 11 constexpr int s = sizeof(Ivar); category
|
/external/llvm-project/clang/test/SemaObjC/ |
D | ivar-lookup.m | 20 @interface Ivar interface 25 A *Ivar; field 32 …int *ip = [Ivar method]; // expected-warning{{incompatible pointer types initializing 'int *' with…
|
D | objc-independent-class-attribute.m | 17 …NSObject *__attribute__((objc_independent_class)) Ivar; // expected-warning {{'objc_independent_cl… field
|
/external/clang/test/SemaObjC/ |
D | ivar-lookup.m | 20 @interface Ivar interface 25 A *Ivar; field 32 …int *ip = [Ivar method]; // expected-warning{{incompatible pointer types initializing 'int *' with…
|
D | objc-independent-class-attribute.m | 17 …NSObject *__attribute__((objc_independent_class)) Ivar; // expected-warning {{'objc_independent_cl… field
|
/external/clang/include/clang/Index/ |
D | USRGeneration.h | 40 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 285 ObjCIvarDecl *Ivar; member in __anoncf443c940111::PropertiesRewriter::PlusOneAssign 287 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign() 295 if (RE->getDecl() != Ivar) in VisitBinaryOperator()
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 287 ObjCIvarDecl *Ivar; member in __anoncbb3b9e60111::PropertiesRewriter::PlusOneAssign 289 PlusOneAssign(ObjCIvarDecl *D) : Ivar(D) {} in PlusOneAssign() 294 if (RE->getDecl() != Ivar) in VisitBinAssign()
|
/external/llvm-project/clang/include/clang/Index/ |
D | USRGeneration.h | 47 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS);
|
/external/llvm-project/clang/test/ASTMerge/interface/Inputs/ |
D | interface2.m | 13 // Ivar mismatch
|
/external/clang/test/ASTMerge/Inputs/ |
D | interface2.m | 13 // Ivar mismatch
|
D | interface1.m | 13 // Ivar mismatch
|