Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp319 void ObjCInterfaceDecl::anchor() {} in anchor()
351 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass()
433 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs()
484 const ObjCInterfaceDecl *
647 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable()
669 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass()
1542 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create()
1558 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized()
1567 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl
1628 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h52 class ObjCInterfaceDecl; variable
315 ObjCInterfaceDecl *getClassInterface();
1161 ObjCInterfaceDecl *Definition = nullptr;
1538 ObjCInterfaceDecl *getDefinition() { in getDefinition()
1582 ObjCInterfaceDecl *getSuperClass() const;
1828 ObjCInterfaceDecl *ClassDeclared; in lookupInstanceVariable()
1978 ObjCInterfaceDecl *getContainingInterface();
2325 ObjCInterfaceDecl *ClassInterface;
2470 ObjCInterfaceDecl *ClassInterface;
2597 ObjCInterfaceDecl *SuperClass;
[all …]
H A DODRDiagsEmitter.h58 const ObjCInterfaceDecl *FirstID, const ObjCInterfaceDecl *SecondID,
59 const struct ObjCInterfaceDecl::DefinitionData *SecondDD) const;
63 bool diagnoseMismatch(const ObjCInterfaceDecl *FirstID, in diagnoseMismatch()
64 const ObjCInterfaceDecl *SecondID) const { in diagnoseMismatch()
H A DASTMutationListener.h32 class ObjCInterfaceDecl; variable
109 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h48 class ObjCInterfaceDecl; variable
81 const ObjCInterfaceDecl *OID,
88 const ObjCInterfaceDecl *OID,
174 const ObjCInterfaceDecl *Class = nullptr,
188 const ObjCInterfaceDecl *OID,
203 const ObjCInterfaceDecl *Class,
273 const ObjCInterfaceDecl *OID) = 0;
310 const ObjCInterfaceDecl *Interface,
344 const ObjCInterfaceDecl *classReceiver,
346 static bool isWeakLinkedClass(const ObjCInterfaceDecl *cls);
[all …]
H A DCGObjCMac.cpp1245 const ObjCInterfaceDecl *ID);
1513 const ObjCInterfaceDecl *ID);
1535 const ObjCInterfaceDecl *ID,
2988 const ObjCInterfaceDecl *ID, in EmitClassRefViaRuntime()
3233 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in EmitPropertyList()
3256 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) { in EmitPropertyList()
3505 ObjCInterfaceDecl *Interface = in GenerateClass()
4030 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(CD); in GenerateDirectMethodPrologue()
4759 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt()
5013 const ObjCInterfaceDecl *ID = in EmitObjCValueForIvar()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp48 const clang::ObjCInterfaceDecl *interface_decl = in FindExternalVisibleDeclsByName()
49 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName()
54 clang::ObjCInterfaceDecl *non_const_interface_decl = in FindExternalVisibleDeclsByName()
55 const_cast<clang::ObjCInterfaceDecl *>(interface_decl); in FindExternalVisibleDeclsByName()
86 void CompleteType(clang::ObjCInterfaceDecl *interface_decl) override { in CompleteType()
144 clang::ObjCInterfaceDecl *
164 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA()
300 clang::ObjCInterfaceDecl *interface_decl, const char *name, in BuildMethod()
425 clang::ObjCInterfaceDecl *superclass_decl = GetDeclForISA(isa); in FinishDecl()
555 if (clang::ObjCInterfaceDecl *result_iface_decl = in FindDecls()
[all …]
H A DAppleObjCDeclVendor.h36 clang::ObjCInterfaceDecl *GetDeclForISA(ObjCLanguageRuntime::ObjCISA isa);
37 bool FinishDecl(clang::ObjCInterfaceDecl *decl);
45 clang::ObjCInterfaceDecl *>
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp306 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType()
308 ObjCInterfaceDecl *complete_iface_decl = in CompleteType()
419 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls()
421 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls()
929 const ObjCInterfaceDecl *interface_decl = in FindObjCMethodDecls()
930 dyn_cast<ObjCInterfaceDecl>(decl_ctx); in FindObjCMethodDecls()
1067 ObjCInterfaceDecl *found_interface_decl = in FindObjCMethodDecls()
1180 ObjCInterfaceDecl *runtime_interface_decl = in FindObjCMethodDecls()
1181 dyn_cast<ObjCInterfaceDecl>(decls[0]); in FindObjCMethodDecls()
1312 dyn_cast<ObjCInterfaceDecl>(decls[0])); in FindObjCPropertyAndIvarDecls()
[all …]
H A DClangASTImporter.cpp287 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
391 clang::ObjCInterfaceDecl *class_interface_decl = in CanImport()
465 clang::ObjCInterfaceDecl *class_interface_decl = in Import()
594 clang::ObjCInterfaceDecl *interface_decl) { in CompleteObjCInterfaceDecl()
654 if (ObjCInterfaceDecl *objc_interface_decl = in CompleteAndFetchChildren()
664 ObjCInterfaceDecl *origin_interface_decl = in CompleteAndFetchChildren()
698 if (ObjCInterfaceDecl *objc_interface_decl = in RequireCompleteType()
945 if (ObjCInterfaceDecl *to_objc_interface = dyn_cast<ObjCInterfaceDecl>(to)) { in ImportDefinitionTo()
951 ObjCInterfaceDecl *from_objc_interface = dyn_cast<ObjCInterfaceDecl>(from); in ImportDefinitionTo()
970 ObjCInterfaceDecl *imported_from_superclass = in ImportDefinitionTo()
[all …]
H A DClangASTSource.h154 void CompleteType(clang::ObjCInterfaceDecl *Class) override;
230 void CompleteType(clang::ObjCInterfaceDecl *Class) override { in CompleteType()
267 clang::ObjCInterfaceDecl *
268 GetCompleteObjCInterface(const clang::ObjCInterfaceDecl *interface_decl);
358 clang::ObjCInterfaceDecl *original_interface_decl, const char *log_info);
H A DClangExternalASTSourceCallbacks.cpp25 clang::ObjCInterfaceDecl *objc_decl) { in CompleteType()
56 if (auto *oid = llvm::dyn_cast<clang::ObjCInterfaceDecl>(DC)) { in FindExternalVisibleDeclsByName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp447 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef()
511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate()
995 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassInterface()
1054 ObjCInterfaceDecl *IDecl in ActOnStartClassInterface()
1175 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU); in ActOnCompatibilityAlias()
2905 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in MatchAllMethodDeclarations()
3006 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in ImplMethodsVsClassMethods()
3040 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in ImplMethodsVsClassMethods()
3850 ObjCInterfaceDecl::ivar_iterator(), ObjCInterfaceDecl::ivar_iterator()); in DiagnoseVariableSizedIvars()
4977 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration()
[all …]
H A DSemaObjCProperty.cpp229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty()
1098 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl()
1210 ObjCInterfaceDecl *ClassDeclared; in ActOnPropertyImplDecl()
1279 ObjCInterfaceDecl *ClassDeclared=nullptr; in ActOnPropertyImplDecl()
1759 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties()
1889 ObjCInterfaceDecl::PropertyMap PropMap; in DefaultSynthesizeProperties()
1893 ObjCInterfaceDecl::PropertyMap SuperPropMap; in DefaultSynthesizeProperties()
2023 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl)) in DiagnoseUnimplementedAccessor()
2033 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties()
2104 ObjCInterfaceDecl *PrimaryClass = nullptr; in DiagnoseUnimplementedProperties()
[all …]
H A DSemaExprObjC.cpp105 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
120 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
131 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral()
226 ObjCInterfaceDecl *ID = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in LookupObjCInterfaceDeclForLiteral()
2132 ObjCInterfaceDecl *ClassDeclared; in HandleExprPropertyRefExpr()
2338 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(ND)) in getObjCMessageKind()
2646 ObjCInterfaceDecl *Class = nullptr; in BuildClassMessage()
2716 const ObjCInterfaceDecl *ID = in BuildClassMessage()
4023 ObjCInterfaceDecl *ExprClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeNSCast()
4087 ObjCInterfaceDecl *CastClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeCFCast()
[all …]
H A DSemaAvailability.cpp66 ObjCInterfaceDecl *ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl()
83 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl()
176 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
182 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
331 const ObjCInterfaceDecl *UnknownObjCClass, in DoEmitAvailabilityWarning()
598 const ObjCInterfaceDecl *UnknownObjCClass, in EmitAvailabilityWarning()
698 ObjCInterfaceDecl *ClassReceiver = nullptr);
728 ObjCInterfaceDecl *ID = nullptr; in VisitObjCMessageExpr()
761 NamedDecl *D, SourceRange Range, ObjCInterfaceDecl *ReceiverClass) { in DiagnoseDeclAvailability()
965 const ObjCInterfaceDecl *UnknownObjCClass, in DiagnoseAvailabilityOfDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp62 const ObjCInterfaceDecl *InterfD;
69 const ObjCInterfaceDecl *InID, BugReporter &InBR, in MethodCrawler()
95 const ObjCInterfaceDecl *InterD, in findPropertyBackingIvar()
102 ObjCInterfaceDecl *NonConstInterD = const_cast<ObjCInterfaceDecl*>(InterD); in findPropertyBackingIvar()
119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
H A DIvarInvalidationChecker.cpp193 const ObjCInterfaceDecl *InterfaceD,
205 const ObjCInterfaceDecl *InterfaceD,
254 if (const ObjCInterfaceDecl *InterfD = dyn_cast<ObjCInterfaceDecl>(D)) { in containsInvalidationMethod()
285 const ObjCInterfaceDecl *IvInterf = IvTy->getInterfaceDecl(); in trackIvar()
301 const ObjCInterfaceDecl *InterfaceD, in findPropertyBackingIvar()
364 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit()
367 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit()
379 ObjCInterfaceDecl::PropertyMap PropMap; in visit()
517 const ObjCInterfaceDecl *InterfaceD, bool MissingDeclaration) const { in reportNoInvalidationMethod()
H A DObjCPropertyChecker.cpp57 if (const ObjCInterfaceDecl *IntD = in checkCopyMutable()
58 dyn_cast<ObjCInterfaceDecl>(D->getDeclContext())) { in checkCopyMutable()
H A DBasicObjCFoundationChecks.cpp56 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverInterfaceName()
72 static FoundationClass findKnownClass(const ObjCInterfaceDecl *ID, in findKnownClass()
88 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in findKnownClass()
233 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage()
630 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage()
693 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage()
706 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage()
844 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isKnownNonNilCollectionType()
1024 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage()
1070 const ObjCInterfaceDecl *StaticClass; in getMethodReceiverIfKnownImmutable()
[all …]
H A DCheckObjCInstMethSignature.cpp80 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature()
81 const ObjCInterfaceDecl *C = D->getSuperClass(); in CheckObjCInstMethSignature()
H A DTrustNonnullChecker.cpp96 const ObjCInterfaceDecl *ID = Msg.getReceiverInterface(); in checkPostObjCMessage()
195 bool interfaceHasSuperclass(const ObjCInterfaceDecl *ID, in interfaceHasSuperclass()
200 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in interfaceHasSuperclass()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DObjCNoReturn.cpp20 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass()
56 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h43 class ObjCInterfaceDecl; variable
139 const ObjCInterfaceDecl *UnknownObjCClass,
221 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass()
237 const ObjCInterfaceDecl *UnknownObjCClass;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp149 llvm::DenseMap<ObjCInterfaceDecl *,
193 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl()
749 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl()
754 if (isa<ObjCInterfaceDecl>(*DI) && in HandleTopLevelSingleDecl()
1073 if (ObjCInterfaceDecl *ForwardDecl = dyn_cast<ObjCInterfaceDecl>(*I)) { in RewriteForwardClassDecl()
1095 ObjCInterfaceDecl *ForwardDecl = cast<ObjCInterfaceDecl>(D[i]); in RewriteForwardClassDecl()
2762 ObjCInterfaceDecl *Class = in RewriteObjCArrayLiteralExpr()
2905 ObjCInterfaceDecl *Class = in RewriteObjCDictionaryLiteralExpr()
3317 ObjCInterfaceDecl *Class in SynthMessageExpr()
6475 const ObjCInterfaceDecl *RootClass = CDecl; in Write_class_t()
[all …]

123456