| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 307 void ObjCInterfaceDecl::anchor() {} in anchor() 339 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass() 424 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs() 475 const ObjCInterfaceDecl * 631 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() 653 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass() 1491 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create() 1507 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized() 1516 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl 1577 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 53 class ObjCInterfaceDecl; variable 318 ObjCInterfaceDecl *getClassInterface(); 1159 ObjCInterfaceDecl *Definition = nullptr; 1525 ObjCInterfaceDecl *getDefinition() { in getDefinition() 1562 ObjCInterfaceDecl *getSuperClass() const; 1809 ObjCInterfaceDecl *ClassDeclared; in lookupInstanceVariable() 2266 ObjCInterfaceDecl *ClassInterface; 2411 ObjCInterfaceDecl *ClassInterface; 2417 ObjCInterfaceDecl *classInterface, in ObjCImplDecl() 2538 ObjCInterfaceDecl *SuperClass; [all …]
|
| H A D | ASTMutationListener.h | 32 class ObjCInterfaceDecl; variable 109 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 47 const clang::ObjCInterfaceDecl *interface_decl = in FindExternalVisibleDeclsByName() 48 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName() 53 clang::ObjCInterfaceDecl *non_const_interface_decl = in FindExternalVisibleDeclsByName() 54 const_cast<clang::ObjCInterfaceDecl *>(interface_decl); in FindExternalVisibleDeclsByName() 87 void CompleteType(clang::ObjCInterfaceDecl *interface_decl) override { in CompleteType() 146 clang::ObjCInterfaceDecl * 166 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA() 302 clang::ObjCInterfaceDecl *interface_decl, const char *name, in BuildMethod() 427 clang::ObjCInterfaceDecl *superclass_decl = GetDeclForISA(isa); in FinishDecl() 557 if (clang::ObjCInterfaceDecl *result_iface_decl = in FindDecls() [all …]
|
| H A D | AppleObjCDeclVendor.h | 36 clang::ObjCInterfaceDecl *GetDeclForISA(ObjCLanguageRuntime::ObjCISA isa); 37 bool FinishDecl(clang::ObjCInterfaceDecl *decl); 45 clang::ObjCInterfaceDecl *>
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTSource.cpp | 323 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType() 325 ObjCInterfaceDecl *complete_iface_decl = in CompleteType() 436 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls() 438 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls() 929 const ObjCInterfaceDecl *interface_decl = in FindObjCMethodDecls() 930 dyn_cast<ObjCInterfaceDecl>(decl_ctx); in FindObjCMethodDecls() 1076 ObjCInterfaceDecl *found_interface_decl = in FindObjCMethodDecls() 1189 ObjCInterfaceDecl *runtime_interface_decl = in FindObjCMethodDecls() 1190 dyn_cast<ObjCInterfaceDecl>(decls[0]); in FindObjCMethodDecls() 1321 dyn_cast<ObjCInterfaceDecl>(decls[0])); in FindObjCPropertyAndIvarDecls() [all …]
|
| H A D | ClangASTImporter.cpp | 390 clang::ObjCInterfaceDecl *class_interface_decl = in CanImport() 464 clang::ObjCInterfaceDecl *class_interface_decl = in Import() 593 clang::ObjCInterfaceDecl *interface_decl) { in CompleteObjCInterfaceDecl() 653 if (ObjCInterfaceDecl *objc_interface_decl = in CompleteAndFetchChildren() 663 ObjCInterfaceDecl *origin_interface_decl = in CompleteAndFetchChildren() 697 if (ObjCInterfaceDecl *objc_interface_decl = in RequireCompleteType() 977 if (ObjCInterfaceDecl *to_objc_interface = dyn_cast<ObjCInterfaceDecl>(to)) { in ImportDefinitionTo() 984 ObjCInterfaceDecl *from_objc_interface = in ImportDefinitionTo() 985 dyn_cast<ObjCInterfaceDecl>(from); in ImportDefinitionTo() 1004 ObjCInterfaceDecl *imported_from_superclass = in ImportDefinitionTo() [all …]
|
| H A D | ClangASTSource.h | 154 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 D | ClangExternalASTSourceCallbacks.cpp | 24 clang::ObjCInterfaceDecl *objc_decl) { in CompleteType() 55 if (auto *oid = llvm::dyn_cast<clang::ObjCInterfaceDecl>(DC)) { in FindExternalVisibleDeclsByName()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 47 class ObjCInterfaceDecl; variable 80 const ObjCInterfaceDecl *OID, 87 const ObjCInterfaceDecl *OID, 173 const ObjCInterfaceDecl *Class = nullptr, 187 const ObjCInterfaceDecl *OID, 202 const ObjCInterfaceDecl *Class, 272 const ObjCInterfaceDecl *OID) = 0; 309 const ObjCInterfaceDecl *Interface, 344 const ObjCInterfaceDecl *ID,
|
| H A D | CGObjCMac.cpp | 1241 const ObjCInterfaceDecl *ID); 1509 const ObjCInterfaceDecl *ID); 1531 const ObjCInterfaceDecl *ID, 3057 const ObjCInterfaceDecl *ID, in EmitClassRefViaRuntime() 3302 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in EmitPropertyList() 3325 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) { in EmitPropertyList() 3574 ObjCInterfaceDecl *Interface = in GenerateClass() 4112 const ObjCInterfaceDecl *OID = cast<ObjCInterfaceDecl>(CD); in GenerateDirectMethodPrologue() 4836 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt() 5089 const ObjCInterfaceDecl *ID = in EmitObjCValueForIvar() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DirectIvarAssignment.cpp | 62 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 D | IvarInvalidationChecker.cpp | 193 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() 382 ObjCInterfaceDecl::PropertyDeclOrder PropOrder; in visit() 385 for (ObjCInterfaceDecl::PropertyMap::iterator in visit() [all …]
|
| H A D | ObjCPropertyChecker.cpp | 57 if (const ObjCInterfaceDecl *IntD = in checkCopyMutable() 58 dyn_cast<ObjCInterfaceDecl>(D->getDeclContext())) { in checkCopyMutable()
|
| H A 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() 222 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() 1015 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage() 1061 const ObjCInterfaceDecl *StaticClass; in getMethodReceiverIfKnownImmutable() [all …]
|
| H A D | CheckObjCInstMethSignature.cpp | 82 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature() 83 const ObjCInterfaceDecl *C = D->getSuperClass(); in CheckObjCInstMethSignature()
|
| H A D | TrustNonnullChecker.cpp | 97 const ObjCInterfaceDecl *ID = Msg.getReceiverInterface(); in checkPostObjCMessage() 196 bool interfaceHasSuperclass(const ObjCInterfaceDecl *ID, in interfaceHasSuperclass() 201 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in interfaceHasSuperclass()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 447 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() 1166 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU); in ActOnCompatibilityAlias() 2891 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in MatchAllMethodDeclarations() 2992 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in ImplMethodsVsClassMethods() 3026 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in ImplMethodsVsClassMethods() 3835 ObjCInterfaceDecl::ivar_iterator(), ObjCInterfaceDecl::ivar_iterator()); in DiagnoseVariableSizedIvars() 4957 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration() [all …]
|
| H A D | SemaObjCProperty.cpp | 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 1098 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() 1210 ObjCInterfaceDecl *ClassDeclared; in ActOnPropertyImplDecl() 1760 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() 1825 ObjCInterfaceDecl::PropertyDeclOrder PO; in CollectSuperClassPropertyImplementations() 1891 ObjCInterfaceDecl::PropertyMap PropMap; in DefaultSynthesizeProperties() 1896 ObjCInterfaceDecl::PropertyMap SuperPropMap; in DefaultSynthesizeProperties() 2026 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl)) in DiagnoseUnimplementedAccessor() 2036 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() 2108 ObjCInterfaceDecl *PrimaryClass = nullptr; in DiagnoseUnimplementedProperties() [all …]
|
| H A D | SemaExprObjC.cpp | 104 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 119 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral() 130 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral() 225 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() 2643 ObjCInterfaceDecl *Class = nullptr; in BuildClassMessage() 2713 const ObjCInterfaceDecl *ID = in BuildClassMessage() 4025 ObjCInterfaceDecl *ExprClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeNSCast() 4091 ObjCInterfaceDecl *CastClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeCFCast() [all …]
|
| H A D | SemaAvailability.cpp | 65 ObjCInterfaceDecl *ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl() 82 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { in ShouldDiagnoseAvailabilityOfDecl() 163 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 169 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in ShouldDiagnoseAvailabilityInContext() 315 const ObjCInterfaceDecl *UnknownObjCClass, in DoEmitAvailabilityWarning() 559 const ObjCInterfaceDecl *UnknownObjCClass, in EmitAvailabilityWarning() 660 ObjCInterfaceDecl *ClassReceiver = nullptr); 690 ObjCInterfaceDecl *ID = nullptr; in VisitObjCMessageExpr() 723 NamedDecl *D, SourceRange Range, ObjCInterfaceDecl *ReceiverClass) { in DiagnoseDeclAvailability() 922 const ObjCInterfaceDecl *UnknownObjCClass, in DiagnoseAvailabilityOfDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ObjCNoReturn.cpp | 20 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() 56 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 43 class ObjCInterfaceDecl; variable 139 const ObjCInterfaceDecl *UnknownObjCClass, 221 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass() 237 const ObjCInterfaceDecl *UnknownObjCClass;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 148 llvm::DenseMap<ObjCInterfaceDecl *, 192 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl() 748 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { in HandleTopLevelSingleDecl() 753 if (isa<ObjCInterfaceDecl>(*DI) && in HandleTopLevelSingleDecl() 1072 if (ObjCInterfaceDecl *ForwardDecl = dyn_cast<ObjCInterfaceDecl>(*I)) { in RewriteForwardClassDecl() 1094 ObjCInterfaceDecl *ForwardDecl = cast<ObjCInterfaceDecl>(D[i]); in RewriteForwardClassDecl() 2761 ObjCInterfaceDecl *Class = in RewriteObjCArrayLiteralExpr() 2904 ObjCInterfaceDecl *Class = in RewriteObjCDictionaryLiteralExpr() 3316 ObjCInterfaceDecl *Class in SynthMessageExpr() 6476 const ObjCInterfaceDecl *RootClass = CDecl; in Write_class_t() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 31 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation() 107 static const ObjCInterfaceDecl * 108 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, in maybeAdjustInterfaceForSubscriptingCheck() 144 const ObjCInterfaceDecl *OID = ObjTy->getInterface(); in maybeAdjustInterfaceForSubscriptingCheck() 155 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, in canRewriteToSubscriptSyntax() 202 static bool rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptGet() 212 static bool rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptGet() 222 static bool rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptSet() 256 static bool rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptSet() 298 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax()
|