/external/clang/test/Index/ |
D | complete-interfaces.m | 23 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int1} 24 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int2} 25 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int3} 26 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int4} 28 // CHECK-CC2: ObjCInterfaceDecl:{TypedText Int1} 29 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int2} 30 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int4} 32 // CHECK-CC3: ObjCInterfaceDecl:{TypedText Int1} 33 // CHECK-CC3-NEXT: ObjCInterfaceDecl:{TypedText Int3} 34 // CHECK-CC3-NEXT: ObjCInterfaceDecl:{TypedText Int4} [all …]
|
D | annotate-tokens.m | 141 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=Foo:1:12 142 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=Foo:1:12 143 // CHECK: Identifier: "Foo" [1:12 - 1:15] ObjCInterfaceDecl=Foo:1:12 156 // CHECK: Punctuation: "@" [3:1 - 3:2] ObjCInterfaceDecl=Foo:1:12 157 // CHECK: Keyword: "end" [3:2 - 3:5] ObjCInterfaceDecl=Foo:1:12 193 // CHECK: Punctuation: "@" [15:1 - 15:2] ObjCInterfaceDecl=Bar:15:12 194 // CHECK: Keyword: "interface" [15:2 - 15:11] ObjCInterfaceDecl=Bar:15:12 195 // CHECK: Identifier: "Bar" [15:12 - 15:15] ObjCInterfaceDecl=Bar:15:12 196 // CHECK: Punctuation: "{" [16:1 - 16:2] ObjCInterfaceDecl=Bar:15:12 199 // CHECK: Punctuation: ";" [17:17 - 17:18] ObjCInterfaceDecl=Bar:15:12 [all …]
|
D | c-index-getCursor-test.m | 63 // CHECK: [3:1 - 7:1] ObjCInterfaceDecl=Foo:3:12 65 // CHECK: [7:7 - 8:1] ObjCInterfaceDecl=Foo:3:12 67 // CHECK: [8:8 - 10:5] ObjCInterfaceDecl=Foo:3:12 69 // CHECK: [12:1 - 12:18] ObjCInterfaceDecl=Bar:12:12 71 // CHECK: [12:21 - 16:5] ObjCInterfaceDecl=Bar:12:12 93 // CHECK: [31:1 - 31:18] ObjCInterfaceDecl=Baz:31:12 95 // CHECK: [31:21 - 31:23] ObjCInterfaceDecl=Baz:31:12 97 // CHECK: [31:27 - 33:5] ObjCInterfaceDecl=Baz:31:12 99 // CHECK: [33:16 - 36:1] ObjCInterfaceDecl=Baz:31:12 103 // CHECK: [36:21 - 38:5] ObjCInterfaceDecl=Baz:31:12
|
D | arc-annotate.m | 8 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=A:1:12 9 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=A:1:12 10 // CHECK: Identifier: "A" [1:12 - 1:13] ObjCInterfaceDecl=A:1:12 20 // CHECK: Punctuation: ";" [2:42 - 2:43] ObjCInterfaceDecl=A:1:12
|
D | TestClassDecl.m | 22 // CHECK-scan: [10:1 - 11:5] ObjCInterfaceDecl=Foo:10:12 30 // CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:12 Extent=[10:1 - 11:5]
|
D | local-symbols.m | 29 // CHECK: local-symbols.m:6:12: ObjCInterfaceDecl=Foo:6:12 Extent=[6:1 - 10:5] 40 // CHECK: local-symbols.m:23:12: ObjCInterfaceDecl=R8380046:23:12 Extent=[23:1 - 24:5]
|
D | properties-class-extensions.m | 46 // CHECK: properties-class-extensions.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 4:23] 62 // CHECK: properties-class-extensions.m:15:12: ObjCInterfaceDecl=Bar:15:12 Extent=[15:1 - 17:5] 79 // CHECK: properties-class-extensions.m:28:12: ObjCInterfaceDecl=Rdar8467189_Foo:28:12 Extent=[28:1… 90 // CHECK: properties-class-extensions.m:35:12: ObjCInterfaceDecl=Qux:35:12 Extent=[35:1 - 36:5]
|
D | complete-objc-message.m | 223 // CHECK-CCA-NEXT: ObjCInterfaceDecl:{TypedText Foo} 227 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MyClass} 228 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MySubClass} 251 // CHECK-CCF: ObjCInterfaceDecl:{TypedText Foo} 254 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MyClass} 255 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MySubClass} 295 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText A} (50) 296 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText B} (50)
|
D | complete-method-decls.m | 133 // CHECK-CCF: ObjCInterfaceDecl:{TypedText A} (50) 134 // CHECK-CCF: ObjCInterfaceDecl:{TypedText B} (50) 145 // CHECK-CCG: ObjCInterfaceDecl:{TypedText A} (50) 146 // CHECK-CCG: ObjCInterfaceDecl:{TypedText B} (50) 158 // CHECK-CCH: ObjCInterfaceDecl:{TypedText A} (50) 159 // CHECK-CCH: ObjCInterfaceDecl:{TypedText B} (50)
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 114 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration() 123 for (ObjCInterfaceDecl::all_protocol_iterator in FindPropertyDeclaration() 130 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration() 154 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass() 164 for (ObjCInterfaceDecl::all_protocol_iterator in FindPropertyVisibleInPrimaryClass() 173 void ObjCInterfaceDecl::mergeClassExtensionProtocolList( in mergeClassExtensionProtocolList() 220 ObjCCategoryDecl* ObjCInterfaceDecl::getFirstClassExtension() const { in getFirstClassExtension() 237 ObjCIvarDecl *ObjCInterfaceDecl::lookupInstanceVariable(IdentifierInfo *ID, in lookupInstanceVariable() 238 ObjCInterfaceDecl *&clsDeclared) { in lookupInstanceVariable() 239 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() [all …]
|
/external/clang/lib/Index/ |
D | Analyzer.cpp | 112 ObjCInterfaceDecl *IFD = MD->getClassInterface(); in RefSelectorAnalyzer() 118 for (ObjCInterfaceDecl *Cls = IFD->getSuperClass(); in RefSelectorAnalyzer() 128 ObjCInterfaceDecl *IFace = in Handle() 129 cast_or_null<ObjCInterfaceDecl>(IFaceEnt.getDecl(Ctx)); in Handle() 145 bool ValidReference(ASTLocation ASTLoc, ObjCInterfaceDecl *IFace) { in ValidReference() 153 ObjCInterfaceDecl *MsgD = 0; in ValidReference() 222 for (ObjCInterfaceDecl *Cls = MsgD; Cls; Cls = Cls->getSuperClass()) { in ValidReference() 268 ObjCInterfaceDecl *MsgD = 0; in MessageAnalyzer() 320 for (ObjCInterfaceDecl *Cls = MsgD->getSuperClass(); in MessageAnalyzer() 325 for (ObjCInterfaceDecl *Cls = MsgD; Cls; Cls = Cls->getSuperClass()) { in MessageAnalyzer() [all …]
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 239 ObjCInterfaceDecl *getClassInterface(); 240 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() 290 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID); 455 class ObjCInterfaceDecl : public ObjCContainerDecl { 462 ObjCInterfaceDecl *SuperClass; 492 ObjCInterfaceDecl(DeclContext *DC, SourceLocation atLoc, IdentifierInfo *Id, 497 static ObjCInterfaceDecl *Create(ASTContext &C, DeclContext *DC, 607 ObjCInterfaceDecl *getSuperClass() const { in getSuperClass() 614 void setSuperClass(ObjCInterfaceDecl * superCls) { SuperClass = superCls; } in setSuperClass() 634 bool isSuperClassOf(const ObjCInterfaceDecl *I) const { in isSuperClassOf() [all …]
|
D | ExprObjC.h | 245 llvm::PointerUnion3<Stmt*, const Type*, ObjCInterfaceDecl*> Receiver; 291 SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver) in ObjCPropertyRefExpr() 376 ObjCInterfaceDecl *getClassReceiver() const { in getClassReceiver() 377 return Receiver.get<ObjCInterfaceDecl*>(); in getClassReceiver() 381 bool isClassReceiver() const { return Receiver.is<ObjCInterfaceDecl*>(); } in isClassReceiver() 417 void setClassReceiver(ObjCInterfaceDecl *D) { Receiver = D; } in setClassReceiver() 738 ObjCInterfaceDecl *getReceiverInterface() const;
|
D | ASTContext.h | 768 QualType getObjCInterfaceType(const ObjCInterfaceDecl *Decl) const; 850 void setObjCConstantStringInterface(ObjCInterfaceDecl *Decl); 1145 const ASTRecordLayout &getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D) 1168 void ShallowCollectObjCIvars(const ObjCInterfaceDecl *OI, 1172 void DeepCollectObjCIvars(const ObjCInterfaceDecl *OI, bool leafClass, 1175 unsigned CountNonClassIvars(const ObjCInterfaceDecl *OI) const; 1509 ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D); 1519 void setObjCImplementation(ObjCInterfaceDecl *IFaceD, 1641 getObjCLayout(const ObjCInterfaceDecl *D,
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 57 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod() 71 const ObjCInterfaceDecl *receiverClass = 0; in checkInitMethod() 125 ObjCInterfaceDecl *CurrentClass in CheckObjCMethodOverride() 126 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); in CheckObjCMethodOverride() 185 if (ObjCInterfaceDecl *Class = llvm::dyn_cast<ObjCInterfaceDecl>(DC)) { in CheckObjCMethodOverrides() 232 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(DC)) in CheckObjCMethodOverrides() 381 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) in ActOnStartOfObjCMethodDef() 402 if (PrevDecl && !isa<ObjCInterfaceDecl>(PrevDecl)) { in ActOnStartClassInterface() 407 ObjCInterfaceDecl* IDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassInterface() 436 IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartClassInterface() [all …]
|
D | SemaObjCProperty.cpp | 153 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 297 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in CreatePropertyDecl() 522 ObjCInterfaceDecl* IDecl = 0; in ActOnPropertyImplDecl() 606 ObjCInterfaceDecl *ClassDeclared; in ActOnPropertyImplDecl() 822 ObjCInterfaceDecl *ClassDeclared=0; in ActOnPropertyImplDecl() 950 void Sema::ComparePropertiesInBaseAndSuper(ObjCInterfaceDecl *IDecl) { in ComparePropertiesInBaseAndSuper() 951 ObjCInterfaceDecl *SDecl = IDecl->getSuperClass(); in ComparePropertiesInBaseAndSuper() 955 for (ObjCInterfaceDecl::prop_iterator S = SDecl->prop_begin(), in ComparePropertiesInBaseAndSuper() 959 for (ObjCInterfaceDecl::prop_iterator I = IDecl->prop_begin(), in ComparePropertiesInBaseAndSuper() 975 ObjCInterfaceDecl *IDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDecl); in MatchOneProtocolPropertiesInClass() [all …]
|
D | SemaExprObjC.cpp | 94 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in ParseObjCStringLiteral() 109 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in ParseObjCStringLiteral() 291 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) in getMessageSendResultType() 466 ObjCInterfaceDecl *ClassDecl) { in LookupPrivateClassMethod() 494 ObjCInterfaceDecl *ClassDecl) { in LookupPrivateInstanceMethod() 536 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); in HandleExprPropertyRefExpr() 692 ObjCInterfaceDecl *ClassDeclared; in HandleExprPropertyRefExpr() 699 if (ObjCInterfaceDecl *IFace = IFaceT->getDecl()) in HandleExprPropertyRefExpr() 731 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(receiverNamePtr, in ActOnClassPropertyRefExpr() 774 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) in ActOnClassPropertyRefExpr() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 47 class ObjCInterfaceDecl; variable 77 const ObjCInterfaceDecl *OID, 84 const ObjCInterfaceDecl *OID, 154 const ObjCInterfaceDecl *Class = 0, 168 const ObjCInterfaceDecl *Class, 207 const ObjCInterfaceDecl *OID) = 0; 244 const ObjCInterfaceDecl *Interface,
|
D | CGObjCRuntime.cpp | 32 const ObjCInterfaceDecl *OID, in LookupFieldBitOffset() 35 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); in LookupFieldBitOffset() 55 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl*>(Container); in LookupFieldBitOffset() 69 const ObjCInterfaceDecl *OID, in ComputeIvarBaseOffset() 83 const ObjCInterfaceDecl *OID, in EmitValueForIvarAtOffset()
|
D | CGObjCMac.cpp | 891 const ObjCInterfaceDecl *ID); 899 llvm::Value *EmitSuperClassRef(const ObjCInterfaceDecl *ID); 912 llvm::Constant *EmitMetaClassRef(const ObjCInterfaceDecl *ID); 987 const ObjCInterfaceDecl *Class, 995 const ObjCInterfaceDecl *Class, 1003 const ObjCInterfaceDecl *ID); 1057 const ObjCInterfaceDecl *Interface, 1130 llvm::Constant *EmitIvarOffsetVar(const ObjCInterfaceDecl *ID, 1168 const ObjCInterfaceDecl *ID); 1178 const ObjCInterfaceDecl *ID); [all …]
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 36 class ObjCInterfaceDecl; variable 56 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, 62 std::pair<ObjCInterfaceDecl *, SourceLocation> 75 CXCursor MakeCursorObjCClassRef(ObjCInterfaceDecl *Class, SourceLocation Loc, 80 std::pair<ObjCInterfaceDecl *, SourceLocation>
|
D | CXCursor.cpp | 220 CXCursor cxcursor::MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, in MakeCursorObjCSuperClassRef() 229 std::pair<ObjCInterfaceDecl *, SourceLocation> 232 return std::make_pair(static_cast<ObjCInterfaceDecl *>(C.data[0]), in getCursorObjCSuperClassRef() 254 CXCursor cxcursor::MakeCursorObjCClassRef(ObjCInterfaceDecl *Class, in MakeCursorObjCClassRef() 266 std::pair<ObjCInterfaceDecl *, SourceLocation> 269 return std::make_pair(static_cast<ObjCInterfaceDecl *>(C.data[0]), in getCursorObjCClassRef()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckObjCInstMethSignature.cpp | 77 const ObjCInterfaceDecl* D = ID->getClassInterface(); in CheckObjCInstMethSignature() 78 const ObjCInterfaceDecl* C = D->getSuperClass(); in CheckObjCInstMethSignature() 101 for (ObjCInterfaceDecl::instmeth_iterator I=C->instmeth_begin(), in CheckObjCInstMethSignature()
|
D | BasicObjCFoundationChecks.cpp | 46 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverNameType() 51 static bool isReceiverClassOrSuperclass(const ObjCInterfaceDecl *ID, in isReceiverClassOrSuperclass() 56 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in isReceiverClassOrSuperclass() 103 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage() 459 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage() 519 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage() 536 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage()
|
D | ObjCUnusedIVarsChecker.cpp | 105 const ObjCInterfaceDecl* ID = D->getClassInterface(); in checkObjCUnusedIvar() 109 for (ObjCInterfaceDecl::ivar_iterator I=ID->ivar_begin(), in checkObjCUnusedIvar()
|