Home
last modified time | relevance | path

Searched refs:ObjCInterfaceDecl (Results 1 – 25 of 128) sorted by relevance

123456

/minix3/external/bsd/llvm/dist/clang/test/Index/
H A Dcomplete-interfaces.m23 // 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 …]
H A Dannotate-tokens.m157 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=Foo:1:12
158 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=Foo:1:12
159 // CHECK: Identifier: "Foo" [1:12 - 1:15] ObjCInterfaceDecl=Foo:1:12
172 // CHECK: Punctuation: "@" [3:1 - 3:2] ObjCInterfaceDecl=Foo:1:12
173 // CHECK: Keyword: "end" [3:2 - 3:5] ObjCInterfaceDecl=Foo:1:12
209 // CHECK: Punctuation: "@" [15:1 - 15:2] ObjCInterfaceDecl=Bar:15:12
210 // CHECK: Keyword: "interface" [15:2 - 15:11] ObjCInterfaceDecl=Bar:15:12
211 // CHECK: Identifier: "Bar" [15:12 - 15:15] ObjCInterfaceDecl=Bar:15:12
212 // CHECK: Punctuation: "{" [16:1 - 16:2] ObjCInterfaceDecl=Bar:15:12
215 // CHECK: Punctuation: ";" [17:17 - 17:18] ObjCInterfaceDecl=Bar:15:12
[all …]
H A Dc-index-getCursor-test.m63 // 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
H A Darc-annotate.m13 // 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
H A DTestClassDecl.m19 // 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]
H A Dproperties-class-extensions.m46 // 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: properties-class-extensions.m:24:8: ObjCInterfaceDecl=Rdar8467189_Bar:24:8 Extent=[24:1 -…
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]
H A Dcomplete-member-access.m50 // CHECK-CC1-NEXT: Container Kind: ObjCInterfaceDecl
58 // CHECK-CC2-NEXT: Container Kind: ObjCInterfaceDecl
68 // CHECK-CC3-NEXT: Container Kind: ObjCInterfaceDecl
H A Dlocal-symbols.m35 // 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]
H A Dpreamble-reparse-with-BOM.m8 // CHECK: preamble-reparse-with-BOM.m:2:12: ObjCInterfaceDecl=I2:2:12 Extent=[2:1 - 3:5]
H A Dcomplete-objc-message.m201 // CHECK-CC1-NEXT: Container Kind: ObjCInterfaceDecl
210 // CHECK-CC2-NEXT: Container Kind: ObjCInterfaceDecl
243 // CHECK-CCA-NEXT: ObjCInterfaceDecl:{TypedText Foo} (50)
247 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MyClass} (50)
248 // CHECK-CCA: ObjCInterfaceDecl:{TypedText MySubClass} (50)
272 // CHECK-CCF: ObjCInterfaceDecl:{TypedText Foo}
275 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MyClass}
276 // CHECK-CCF: ObjCInterfaceDecl:{TypedText MySubClass}
316 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText A} (50)
317 // CHECK-BLOCK-RECEIVER: ObjCInterfaceDecl:{TypedText B} (50)
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp112 if (const ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod()
139 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod()
209 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
223 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
240 void ObjCInterfaceDecl::anchor() { } in anchor()
247 ObjCInterfaceDecl::FindPropertyVisibleInPrimaryClass( in FindPropertyVisibleInPrimaryClass()
268 void ObjCInterfaceDecl::collectPropertiesToImplement(PropertyMap &PM, in collectPropertiesToImplement()
281 bool ObjCInterfaceDecl::isArcWeakrefUnavailable() const { in isArcWeakrefUnavailable()
282 const ObjCInterfaceDecl *Class = this; in isArcWeakrefUnavailable()
291 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h323 ObjCInterfaceDecl *getClassInterface();
324 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface()
400 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID);
665 class ObjCInterfaceDecl : public ObjCContainerDecl
666 , public Redeclarable<ObjCInterfaceDecl> {
677 ObjCInterfaceDecl *Definition;
680 ObjCInterfaceDecl *SuperClass;
738 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
740 ObjCInterfaceDecl *PrevDecl, bool IsInternal);
759 typedef Redeclarable<ObjCInterfaceDecl> redeclarable_base;
[all …]
H A DASTMutationListener.h28 class ObjCInterfaceDecl; variable
86 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp64 const ObjCInterfaceDecl *InterfD;
71 const ObjCInterfaceDecl *InID, BugReporter &InBR, in MethodCrawler()
97 const ObjCInterfaceDecl *InterD, in findPropertyBackingIvar()
104 ObjCInterfaceDecl *NonConstInterD = const_cast<ObjCInterfaceDecl*>(InterD); in findPropertyBackingIvar()
121 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
H A DIvarInvalidationChecker.cpp197 const ObjCInterfaceDecl *InterfaceD,
209 const ObjCInterfaceDecl *InterfaceD,
257 if (const ObjCInterfaceDecl *InterfD = dyn_cast<ObjCInterfaceDecl>(D)) { in containsInvalidationMethod()
290 const ObjCInterfaceDecl *IvInterf = IvTy->getInterfaceDecl(); in trackIvar()
306 const ObjCInterfaceDecl *InterfaceD, in findPropertyBackingIvar()
371 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit()
374 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit()
386 ObjCInterfaceDecl::PropertyMap PropMap; in visit()
387 ObjCInterfaceDecl::PropertyDeclOrder PropOrder; in visit()
390 for (ObjCInterfaceDecl::PropertyMap::iterator in visit()
[all …]
H A DCheckObjCInstMethSignature.cpp83 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
84 const ObjCInterfaceDecl *C = D->getSuperClass(); in CheckObjCInstMethSignature()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp59 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod()
73 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 …]
H A DSemaObjCProperty.cpp193 (isa<ObjCInterfaceDecl>(ClassDecl) || in ActOnProperty()
200 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty()
203 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty()
204 while (ObjCInterfaceDecl *Super = CurrentInterfaceDecl->getSuperClass()) { in ActOnProperty()
330 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
543 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in CreatePropertyDecl()
748 ObjCInterfaceDecl *ClassDecl, in DiagnosePropertyMismatchDeclInProtocols()
750 ObjCInterfaceDecl::ProtocolPropertyMap PropMap; in DiagnosePropertyMismatchDeclInProtocols()
755 if (ObjCInterfaceDecl *SDecl = ClassDecl->getSuperClass()) in DiagnosePropertyMismatchDeclInProtocols()
769 for (ObjCInterfaceDecl::ProtocolPropertyMap::iterator in DiagnosePropertyMismatchDeclInProtocols()
[all …]
H A DSemaExprObjC.cpp106 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
121 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
132 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral()
133 ObjCInterfaceDecl::Create (Context, in BuildObjCStringLiteral()
150 const ObjCInterfaceDecl *Class, in validateBoxingMethod()
204 S.NSNumberDecl = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in getNSNumberFactoryMethod()
208 S.NSNumberDecl = ObjCInterfaceDecl::Create(CX, in getNSNumberFactoryMethod()
468 NSStringDecl = dyn_cast_or_null<ObjCInterfaceDecl>(Decl); in BuildObjCBoxedExpr()
473 NSStringDecl = ObjCInterfaceDecl::Create(Context, TU, in BuildObjCBoxedExpr()
639 NSArrayDecl = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in BuildObjCArrayLiteral()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGObjCRuntime.h46 class ObjCInterfaceDecl; variable
79 const ObjCInterfaceDecl *OID,
86 const ObjCInterfaceDecl *OID,
159 const ObjCInterfaceDecl *Class = nullptr,
173 const ObjCInterfaceDecl *Class,
222 const ObjCInterfaceDecl *OID) = 0;
259 const ObjCInterfaceDecl *Interface,
290 const ObjCInterfaceDecl *ID,
H A DCGObjCRuntime.cpp30 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()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DObjCNoReturn.cpp21 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass()
57 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCXCursor.h36 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>
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DDelayedDiagnostic.h128 const ObjCInterfaceDecl *UnknownObjCClass,
199 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass()
215 const ObjCInterfaceDecl *UnknownObjCClass;
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp113 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCSynthesizedStructs;
115 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCWrittenInterfaces;
117 SmallVector<ObjCInterfaceDecl*, 32> ObjCInterfacesSeen;
119 SmallVector<ObjCInterfaceDecl*, 8> DefinedNonLazyClasses;
149 llvm::DenseMap<ObjCInterfaceDecl *,
153 llvm::DenseSet<const ObjCInterfaceDecl *> ObjCInterefaceHasBitfieldGroups;
157 llvm::DenseMap<std::pair<const ObjCInterfaceDecl*, unsigned>, QualType> GroupRecordType;
192 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl()
317 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
323 void RewriteInterfaceDecl(ObjCInterfaceDecl *Dcl);
[all …]

123456