/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 Int3} 31 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int4} 33 // CHECK-CC3: ObjCInterfaceDecl:{TypedText Int1} 34 // CHECK-CC3-NEXT: ObjCInterfaceDecl:{TypedText Int3} [all …]
|
D | annotate-tokens.m | 158 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=Foo:1:12 159 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=Foo:1:12 160 // CHECK: Identifier: "Foo" [1:12 - 1:15] ObjCInterfaceDecl=Foo:1:12 173 // CHECK: Punctuation: "@" [3:1 - 3:2] ObjCInterfaceDecl=Foo:1:12 174 // CHECK: Keyword: "end" [3:2 - 3:5] ObjCInterfaceDecl=Foo:1:12 210 // CHECK: Punctuation: "@" [15:1 - 15:2] ObjCInterfaceDecl=Bar:15:12 211 // CHECK: Keyword: "interface" [15:2 - 15:11] ObjCInterfaceDecl=Bar:15:12 212 // CHECK: Identifier: "Bar" [15:12 - 15:15] ObjCInterfaceDecl=Bar:15:12 213 // CHECK: Punctuation: "{" [16:1 - 16:2] ObjCInterfaceDecl=Bar:15:12 216 // 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 | 13 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=A:1:12 14 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=A:1:12 15 // CHECK: Identifier: "A" [1:12 - 1:13] ObjCInterfaceDecl=A:1:12 25 // CHECK: Punctuation: ";" [2:42 - 2:43] ObjCInterfaceDecl=A:1:12
|
D | TestClassDecl.m | 19 // CHECK-scan: [8:1 - 8:8] ObjCInterfaceDecl=Foo:8:8 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 | 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] 73 // CHECK-NOT: properties-class-extensions.m:24:8: ObjCInterfaceDecl=Rdar8467189_Bar:24:8 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-member-access.m | 50 // CHECK-CC1-NEXT: Container Kind: ObjCInterfaceDecl 58 // CHECK-CC2-NEXT: Container Kind: ObjCInterfaceDecl 68 // CHECK-CC3-NEXT: Container Kind: ObjCInterfaceDecl
|
D | complete-objc-message.m | 209 // CHECK-CC1-NEXT: Container Kind: ObjCInterfaceDecl 218 // CHECK-CC2-NEXT: Container Kind: ObjCInterfaceDecl 251 // CHECK-CCA-NEXT: ObjCInterfaceDecl:{TypedText Foo} (50) 255 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MyClass} (50) 256 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MySubClass} (50) 280 // CHECK-CCF: ObjCInterfaceDecl:{TypedText Foo} 283 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MyClass} 284 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MySubClass} 324 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText A} (50) 325 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText B} (50)
|
D | local-symbols.m | 35 // CHECK: local-symbols.m:6:12: ObjCInterfaceDecl=Foo:6:12 Extent=[6:1 - 10:5] 46 // CHECK: local-symbols.m:23:12: ObjCInterfaceDecl=R8380046:23:12 Extent=[23:1 - 24:5]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod() 139 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod() 167 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl() 225 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() 249 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration() 265 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration() 283 void ObjCInterfaceDecl::anchor() { } in anchor() 285 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList() 291 if (const ObjCInterfaceDecl *def = getDefinition()) in getTypeParamList() 305 void ObjCInterfaceDecl::setTypeParamList(ObjCTypeParamList *TPL) { in setTypeParamList() [all …]
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 323 ObjCInterfaceDecl *getClassInterface(); 324 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface() 399 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID); 403 QualType getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID, 1091 class ObjCInterfaceDecl : public ObjCContainerDecl 1092 , public Redeclarable<ObjCInterfaceDecl> { 1103 ObjCInterfaceDecl *Definition; 1161 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, 1163 SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, 1186 typedef Redeclarable<ObjCInterfaceDecl> redeclarable_base; [all …]
|
D | ASTMutationListener.h | 31 class ObjCInterfaceDecl; variable 98 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 60 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod() 74 const ObjCInterfaceDecl *receiverClass = nullptr; in checkInitMethod() 124 ObjCInterfaceDecl *CurrentClass in CheckObjCMethodOverride() 125 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); in CheckObjCMethodOverride() 365 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef() 375 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef() 379 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef() 407 if (const ObjCInterfaceDecl *SuperClass = IC->getSuperClass()) { in ActOnStartOfObjCMethodDef() 437 explicit ObjCInterfaceValidatorCCC(ObjCInterfaceDecl *IDecl) in ObjCInterfaceValidatorCCC() 441 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate() [all …]
|
D | SemaObjCProperty.cpp | 224 (isa<ObjCInterfaceDecl>(ClassDecl) || in ActOnProperty() 232 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 235 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty() 236 while (ObjCInterfaceDecl *Super = CurrentInterfaceDecl->getSuperClass()) { in ActOnProperty() 426 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 594 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in CreatePropertyDecl() 814 ObjCInterfaceDecl *ClassDecl, in DiagnosePropertyMismatchDeclInProtocols() 816 ObjCInterfaceDecl::ProtocolPropertyMap PropMap; in DiagnosePropertyMismatchDeclInProtocols() 821 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) in DiagnosePropertyMismatchDeclInProtocols() 835 for (ObjCInterfaceDecl::ProtocolPropertyMap::iterator in DiagnosePropertyMismatchDeclInProtocols() [all …]
|
D | SemaExprObjC.cpp | 103 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 118 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 129 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral() 130 ObjCInterfaceDecl::Create (Context, in BuildObjCStringLiteral() 147 const ObjCInterfaceDecl *Class, in validateBoxingMethod() 195 static bool ValidateObjCLiteralInterfaceDecl(Sema &S, ObjCInterfaceDecl *Decl, in ValidateObjCLiteralInterfaceDecl() 217 static ObjCInterfaceDecl *LookupObjCInterfaceDeclForLiteral(Sema &S, in LookupObjCInterfaceDeclForLiteral() 224 ObjCInterfaceDecl *ID = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in LookupObjCInterfaceDeclForLiteral() 228 ID = ObjCInterfaceDecl::Create (Context, TU, SourceLocation(), II, in LookupObjCInterfaceDeclForLiteral() 1317 if (ObjCInterfaceDecl *Class = CurMethod->getClassInterface()) { in getBaseMessageSendResultType() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DirectIvarAssignment.cpp | 63 const ObjCInterfaceDecl *InterfD; 70 const ObjCInterfaceDecl *InID, BugReporter &InBR, in MethodCrawler() 96 const ObjCInterfaceDecl *InterD, in findPropertyBackingIvar() 103 ObjCInterfaceDecl *NonConstInterD = const_cast<ObjCInterfaceDecl*>(InterD); in findPropertyBackingIvar() 120 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
|
D | IvarInvalidationChecker.cpp | 194 const ObjCInterfaceDecl *InterfaceD, 206 const ObjCInterfaceDecl *InterfaceD, 255 if (const ObjCInterfaceDecl *InterfD = dyn_cast<ObjCInterfaceDecl>(D)) { in containsInvalidationMethod() 286 const ObjCInterfaceDecl *IvInterf = IvTy->getInterfaceDecl(); in trackIvar() 302 const ObjCInterfaceDecl *InterfaceD, in findPropertyBackingIvar() 367 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit() 370 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() 382 ObjCInterfaceDecl::PropertyMap PropMap; in visit() 383 ObjCInterfaceDecl::PropertyDeclOrder PropOrder; in visit() 386 for (ObjCInterfaceDecl::PropertyMap::iterator in visit() [all …]
|
D | BasicObjCFoundationChecks.cpp | 53 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverInterfaceName() 69 static FoundationClass findKnownClass(const ObjCInterfaceDecl *ID, in findKnownClass() 85 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in findKnownClass() 217 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage() 650 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage() 713 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage() 726 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage() 863 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isKnownNonNilCollectionType() 1045 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage() 1091 const ObjCInterfaceDecl *StaticClass; in getMethodReceiverIfKnownImmutable() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 46 class ObjCInterfaceDecl; variable 79 const ObjCInterfaceDecl *OID, 86 const ObjCInterfaceDecl *OID, 168 const ObjCInterfaceDecl *Class = nullptr, 182 const ObjCInterfaceDecl *Class, 231 const ObjCInterfaceDecl *OID) = 0; 268 const ObjCInterfaceDecl *Interface, 302 const ObjCInterfaceDecl *ID,
|
D | CGObjCMac.cpp | 871 SmallVector<const ObjCInterfaceDecl*, 16> ImplementedClasses; 999 const ObjCInterfaceDecl *ID, 1031 const ObjCInterfaceDecl *ClassReceiver, 1099 const ObjCInterfaceDecl *ID); 1107 llvm::Value *EmitSuperClassRef(const ObjCInterfaceDecl *ID); 1120 llvm::Constant *EmitMetaClassRef(const ObjCInterfaceDecl *ID); 1193 const ObjCInterfaceDecl *Class, 1199 Selector Sel, const ObjCInterfaceDecl *Class, 1205 const ObjCInterfaceDecl *ID) override; 1263 const ObjCInterfaceDecl *Interface, [all …]
|
D | CGObjCRuntime.cpp | 30 const ObjCInterfaceDecl *OID, in LookupFieldBitOffset() 33 const ObjCInterfaceDecl *Container = Ivar->getContainingInterface(); in LookupFieldBitOffset() 66 const ObjCInterfaceDecl *OID, in ComputeIvarBaseOffset() 81 const ObjCInterfaceDecl *ID, in ComputeBitfieldBitOffset() 87 const ObjCInterfaceDecl *OID, in EmitValueForIvarAtOffset()
|
/external/clang/test/SemaObjC/ |
D | property-atomic-bool.m | 6 // CHECK: ObjCInterfaceDecl {{.*}} A0 11 // CHECK: ObjCInterfaceDecl {{.*}} A1 16 // CHECK: ObjCInterfaceDecl {{.*}} A2 22 // CHECK: ObjCInterfaceDecl {{.*}} A3
|
/external/clang/tools/libclang/ |
D | CXCursor.h | 36 class ObjCInterfaceDecl; variable 62 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, 68 std::pair<const ObjCInterfaceDecl *, SourceLocation> 82 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, 88 std::pair<const ObjCInterfaceDecl *, SourceLocation>
|
/external/clang/lib/Analysis/ |
D | ObjCNoReturn.cpp | 21 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() 57 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 113 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCSynthesizedStructs; 115 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCWrittenInterfaces; 117 SmallVector<ObjCInterfaceDecl*, 32> ObjCInterfacesSeen; 119 SmallVector<ObjCInterfaceDecl*, 8> DefinedNonLazyClasses; 148 llvm::DenseMap<ObjCInterfaceDecl *, 152 llvm::DenseSet<const ObjCInterfaceDecl *> ObjCInterefaceHasBitfieldGroups; 156 llvm::DenseMap<std::pair<const ObjCInterfaceDecl*, unsigned>, QualType> GroupRecordType; 192 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl() 316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 322 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl); [all …]
|