Home
last modified time | relevance | path

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

1234567

/openbsd/gnu/llvm/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 …]
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h52 class ObjCInterfaceDecl; variable
317 ObjCInterfaceDecl *getClassInterface();
1158 ObjCInterfaceDecl *Definition = nullptr;
1530 ObjCInterfaceDecl *getDefinition() { in getDefinition()
1574 ObjCInterfaceDecl *getSuperClass() const;
1820 ObjCInterfaceDecl *ClassDeclared; in lookupInstanceVariable()
1970 ObjCInterfaceDecl *getContainingInterface();
2314 ObjCInterfaceDecl *ClassInterface;
2459 ObjCInterfaceDecl *ClassInterface;
2586 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()
/openbsd/gnu/llvm/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,
2997 const ObjCInterfaceDecl *ID, in EmitClassRefViaRuntime()
3242 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in EmitPropertyList()
3265 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) { in EmitPropertyList()
3514 ObjCInterfaceDecl *Interface = in GenerateClass()
4052 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(CD); in GenerateDirectMethodPrologue()
4785 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt()
5042 const ObjCInterfaceDecl *ID = in EmitObjCValueForIvar()
[all …]
/openbsd/gnu/llvm/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 *>
/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp324 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType()
326 ObjCInterfaceDecl *complete_iface_decl = in CompleteType()
437 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls()
439 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls()
937 const ObjCInterfaceDecl *interface_decl = in FindObjCMethodDecls()
938 dyn_cast<ObjCInterfaceDecl>(decl_ctx); in FindObjCMethodDecls()
1085 ObjCInterfaceDecl *found_interface_decl = in FindObjCMethodDecls()
1198 ObjCInterfaceDecl *runtime_interface_decl = in FindObjCMethodDecls()
1199 dyn_cast<ObjCInterfaceDecl>(decls[0]); in FindObjCMethodDecls()
1330 dyn_cast<ObjCInterfaceDecl>(decls[0])); in FindObjCPropertyAndIvarDecls()
[all …]
H A DClangASTImporter.cpp391 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()
946 if (ObjCInterfaceDecl *to_objc_interface = dyn_cast<ObjCInterfaceDecl>(to)) { in ImportDefinitionTo()
953 ObjCInterfaceDecl *from_objc_interface = in ImportDefinitionTo()
954 dyn_cast<ObjCInterfaceDecl>(from); in ImportDefinitionTo()
973 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()
/openbsd/gnu/llvm/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()
2906 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in MatchAllMethodDeclarations()
3007 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in ImplMethodsVsClassMethods()
3041 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in ImplMethodsVsClassMethods()
3851 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()
1760 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties()
1890 ObjCInterfaceDecl::PropertyMap PropMap; in DefaultSynthesizeProperties()
1894 ObjCInterfaceDecl::PropertyMap SuperPropMap; in DefaultSynthesizeProperties()
2024 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl)) in DiagnoseUnimplementedAccessor()
2034 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties()
2105 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()
2130 ObjCInterfaceDecl *ClassDeclared; in HandleExprPropertyRefExpr()
2336 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(ND)) in getObjCMessageKind()
2641 ObjCInterfaceDecl *Class = nullptr; in BuildClassMessage()
2711 const ObjCInterfaceDecl *ID = in BuildClassMessage()
4018 ObjCInterfaceDecl *ExprClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeNSCast()
4082 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()
164 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
170 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext()
319 const ObjCInterfaceDecl *UnknownObjCClass, in DoEmitAvailabilityWarning()
563 const ObjCInterfaceDecl *UnknownObjCClass, in EmitAvailabilityWarning()
663 ObjCInterfaceDecl *ClassReceiver = nullptr);
693 ObjCInterfaceDecl *ID = nullptr; in VisitObjCMessageExpr()
726 NamedDecl *D, SourceRange Range, ObjCInterfaceDecl *ReceiverClass) { in DiagnoseDeclAvailability()
930 const ObjCInterfaceDecl *UnknownObjCClass, in DiagnoseAvailabilityOfDecl()
[all …]
/openbsd/gnu/llvm/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()
366 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit()
369 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit()
381 ObjCInterfaceDecl::PropertyMap PropMap; in visit()
384 for (ObjCInterfaceDecl::PropertyMap::iterator in visit()
530 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.cpp55 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverInterfaceName()
71 static FoundationClass findKnownClass(const ObjCInterfaceDecl *ID, in findKnownClass()
87 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in findKnownClass()
224 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage()
621 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage()
684 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage()
697 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage()
835 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isKnownNonNilCollectionType()
1016 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage()
1062 const ObjCInterfaceDecl *StaticClass; in getMethodReceiverIfKnownImmutable()
[all …]
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXCursor.h35 class ObjCInterfaceDecl; variable
61 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super,
66 std::pair<const ObjCInterfaceDecl *, SourceLocation>
79 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class,
84 std::pair<const ObjCInterfaceDecl *, SourceLocation>
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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;
/openbsd/gnu/llvm/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h45 bool VisitObjCInterfaceDecl(const ObjCInterfaceDecl *Decl);
79 ObjCInterfaceDecl::protocol_range Protocols);
/openbsd/gnu/llvm/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()
6476 const ObjCInterfaceDecl *RootClass = CDecl; in Write_class_t()
[all …]

1234567