| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 306 void ObjCInterfaceDecl::anchor() {} in anchor() 338 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass() 423 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs() 474 const ObjCInterfaceDecl * 630 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() 652 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass() 1456 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create() 1472 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized() 1481 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl 1542 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 53 class ObjCInterfaceDecl; variable 316 ObjCInterfaceDecl *getClassInterface(); 1183 ObjCInterfaceDecl *Definition = nullptr; 1549 ObjCInterfaceDecl *getDefinition() { in getDefinition() 1586 ObjCInterfaceDecl *getSuperClass() const; 1833 ObjCInterfaceDecl *ClassDeclared; in lookupInstanceVariable() 2282 ObjCInterfaceDecl *ClassInterface; 2427 ObjCInterfaceDecl *ClassInterface; 2433 ObjCInterfaceDecl *classInterface, in ObjCImplDecl() 2554 ObjCInterfaceDecl *SuperClass; [all …]
|
| H A D | ASTMutationListener.h | 33 class ObjCInterfaceDecl; variable 110 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface()
|
| H A D | ASTContext.h | 110 class ObjCInterfaceDecl; variable 325 mutable ObjCInterfaceDecl *ObjCProtocolClassDecl = nullptr; 1482 QualType getObjCInterfaceType(const ObjCInterfaceDecl *Decl, 1505 ObjCInterfaceDecl *IDecl); 1621 void setObjCConstantStringInterface(ObjCInterfaceDecl *Decl); 1877 ObjCInterfaceDecl *getObjCProtocolDecl() const; 2220 uint64_t lookupFieldBitOffset(const ObjCInterfaceDecl *OID, 2233 unsigned CountNonClassIvars(const ObjCInterfaceDecl *OI) const; 2648 ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D); 2660 void setObjCImplementation(ObjCInterfaceDecl *IFaceD, [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 446 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef() 510 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate() 993 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassInterface() 1052 ObjCInterfaceDecl *IDecl in ActOnStartClassInterface() 1159 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU); in ActOnCompatibilityAlias() 2863 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in MatchAllMethodDeclarations() 2964 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in ImplMethodsVsClassMethods() 2998 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in ImplMethodsVsClassMethods() 3798 ObjCInterfaceDecl::ivar_iterator(), ObjCInterfaceDecl::ivar_iterator()); in DiagnoseVariableSizedIvars() 4025 ObjCInterfaceDecl *NSObjectDecl = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in ActOnAtEnd() [all …]
|
| H A D | SemaObjCProperty.cpp | 234 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 1066 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() 1181 ObjCInterfaceDecl *ClassDeclared; in ActOnPropertyImplDecl() 1706 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() 1771 ObjCInterfaceDecl::PropertyDeclOrder PO; in CollectSuperClassPropertyImplementations() 1837 ObjCInterfaceDecl::PropertyMap PropMap; in DefaultSynthesizeProperties() 1842 ObjCInterfaceDecl::PropertyMap SuperPropMap; in DefaultSynthesizeProperties() 1971 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl)) in DiagnoseUnimplementedAccessor() 1981 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() 2053 ObjCInterfaceDecl *PrimaryClass = nullptr; in DiagnoseUnimplementedProperties() [all …]
|
| H A 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() 224 ObjCInterfaceDecl *ID = dyn_cast_or_null<ObjCInterfaceDecl>(IF); in LookupObjCInterfaceDeclForLiteral() 1954 ObjCInterfaceDecl *ClassDeclared; in HandleExprPropertyRefExpr() 2156 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(ND)) in getObjCMessageKind() 2462 ObjCInterfaceDecl *Class = nullptr; in BuildClassMessage() 2522 const ObjCInterfaceDecl *ID = in BuildClassMessage() 3800 ObjCInterfaceDecl *ExprClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeNSCast() 3866 ObjCInterfaceDecl *CastClass = cast<ObjCInterfaceDecl>(Target); in CheckObjCBridgeCFCast() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTSource.cpp | 432 ObjCInterfaceDecl *complete_iface_decl = in CompleteType() 451 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType() 453 ObjCInterfaceDecl *complete_iface_decl = in CompleteType() 523 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls() 588 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls() 590 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls() 696 ObjCInterfaceDecl *complete_iface_decl = in FindExternalVisibleDecls() 1133 ObjCInterfaceDecl *complete_iface_decl = in FindObjCMethodDecls() 1152 const ObjCInterfaceDecl *interface_decl = in FindObjCMethodDecls() 1153 dyn_cast<ObjCInterfaceDecl>(decl_ctx); in FindObjCMethodDecls() [all …]
|
| H A D | ClangASTSource.h | 171 void CompleteType(clang::ObjCInterfaceDecl *Class) override; 258 void CompleteType(clang::ObjCInterfaceDecl *Class) override { in CompleteType() 309 clang::ObjCInterfaceDecl * 310 GetCompleteObjCInterface(const clang::ObjCInterfaceDecl *interface_decl); 454 clang::ObjCInterfaceDecl *original_interface_decl, const char *log_info);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 50 const clang::ObjCInterfaceDecl *interface_decl = in FindExternalVisibleDeclsByName() 51 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName() 56 clang::ObjCInterfaceDecl *non_const_interface_decl = in FindExternalVisibleDeclsByName() 57 const_cast<clang::ObjCInterfaceDecl *>(interface_decl); in FindExternalVisibleDeclsByName() 99 void CompleteType(clang::ObjCInterfaceDecl *interface_decl) override { in CompleteType() 164 clang::ObjCInterfaceDecl * 184 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA() 319 BuildMethod(clang::ObjCInterfaceDecl *interface_decl, const char *name, in BuildMethod() 443 clang::ObjCInterfaceDecl *superclass_decl = GetDeclForISA(isa); in FinishDecl() 584 if (clang::ObjCInterfaceDecl *result_iface_decl = in FindDecls() [all …]
|
| H A D | AppleObjCDeclVendor.h | 34 clang::ObjCInterfaceDecl *GetDeclForISA(ObjCLanguageRuntime::ObjCISA isa); 35 bool FinishDecl(clang::ObjCInterfaceDecl *decl); 43 clang::ObjCInterfaceDecl *>
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A 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()
|
| H A 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 …]
|
| H A D | ObjCPropertyChecker.cpp | 58 if (const ObjCInterfaceDecl *IntD = in checkCopyMutable() 59 dyn_cast<ObjCInterfaceDecl>(D->getDeclContext())) { in checkCopyMutable()
|
| H A D | BasicObjCFoundationChecks.cpp | 54 if (const ObjCInterfaceDecl *ID = msg.getReceiverInterface()) in GetReceiverInterfaceName() 70 static FoundationClass findKnownClass(const ObjCInterfaceDecl *ID, in findKnownClass() 86 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in findKnownClass() 223 const ObjCInterfaceDecl *ID = msg.getReceiverInterface(); in checkPreObjCMessage() 622 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage() 685 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage() 698 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 …]
|
| H A D | TrustNonnullChecker.cpp | 98 const ObjCInterfaceDecl *ID = Msg.getReceiverInterface(); in checkPostObjCMessage() 197 bool interfaceHasSuperclass(const ObjCInterfaceDecl *ID, in interfaceHasSuperclass() 202 if (const ObjCInterfaceDecl *Super = ID->getSuperClass()) in interfaceHasSuperclass()
|
| H A D | CheckObjCInstMethSignature.cpp | 83 const ObjCInterfaceDecl *D = ID->getClassInterface(); in CheckObjCInstMethSignature() 84 const ObjCInterfaceDecl *C = D->getSuperClass(); in CheckObjCInstMethSignature()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 47 class ObjCInterfaceDecl; variable 80 const ObjCInterfaceDecl *OID, 87 const ObjCInterfaceDecl *OID, 171 const ObjCInterfaceDecl *Class = nullptr, 185 const ObjCInterfaceDecl *Class, 234 const ObjCInterfaceDecl *OID) = 0; 271 const ObjCInterfaceDecl *Interface, 306 const ObjCInterfaceDecl *ID,
|
| H A D | CGObjCMac.cpp | 1213 const ObjCInterfaceDecl *ID); 1475 const ObjCInterfaceDecl *ID); 1497 const ObjCInterfaceDecl *ID, 2955 const ObjCInterfaceDecl *ID, in EmitClassRefViaRuntime() 3198 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in EmitPropertyList() 3217 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) { in EmitPropertyList() 3465 ObjCInterfaceDecl *Interface = in GenerateClass() 4585 ObjCInterfaceDecl *IDecl = ObjTy->getInterface(); in EmitTryOrSynchronizedStmt() 4838 const ObjCInterfaceDecl *ID = in EmitObjCValueForIvar() 4994 const ObjCInterfaceDecl *ID = ImplementedClasses[i]; in EmitModuleSymbols() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | ClangASTImporter.cpp | 354 clang::ObjCInterfaceDecl *class_interface_decl = in CanImport() 526 if (ObjCInterfaceDecl *interface_decl = dyn_cast<ObjCInterfaceDecl>(decl)) { in CompleteDecl() 589 clang::ObjCInterfaceDecl *interface_decl) { in CompleteObjCInterfaceDecl() 640 if (ObjCInterfaceDecl *objc_interface_decl = in CompleteAndFetchChildren() 650 ObjCInterfaceDecl *origin_interface_decl = in CompleteAndFetchChildren() 679 if (ObjCInterfaceDecl *objc_interface_decl = in RequireCompleteType() 901 if (ObjCInterfaceDecl *to_objc_interface = dyn_cast<ObjCInterfaceDecl>(to)) { in ImportDefinitionTo() 908 ObjCInterfaceDecl *from_objc_interface = in ImportDefinitionTo() 909 dyn_cast<ObjCInterfaceDecl>(from); in ImportDefinitionTo() 924 ObjCInterfaceDecl *imported_from_superclass = in ImportDefinitionTo() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ObjCNoReturn.cpp | 21 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() 57 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | DelayedDiagnostic.h | 44 class ObjCInterfaceDecl; variable 145 const ObjCInterfaceDecl *UnknownObjCClass, 227 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass() 243 const ObjCInterfaceDecl *UnknownObjCClass;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 149 llvm::DenseMap<ObjCInterfaceDecl *, 193 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() 1073 if (ObjCInterfaceDecl *ForwardDecl = dyn_cast<ObjCInterfaceDecl>(*I)) { in RewriteForwardClassDecl() 1095 ObjCInterfaceDecl *ForwardDecl = cast<ObjCInterfaceDecl>(D[i]); in RewriteForwardClassDecl() 2756 ObjCInterfaceDecl *Class = in RewriteObjCArrayLiteralExpr() 2898 ObjCInterfaceDecl *Class = in RewriteObjCDictionaryLiteralExpr() 3314 ObjCInterfaceDecl *Class in SynthMessageExpr() 6479 const ObjCInterfaceDecl *RootClass = CDecl; in Write_class_t() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | RetainSummaryManager.h | 253 ObjCSummaryKey(const ObjCInterfaceDecl *d, Selector s) in ObjCSummaryKey() 428 const RetainSummary * find(const ObjCInterfaceDecl *D, Selector S) { 445 for (ObjCInterfaceDecl *C=D->getSuperClass() ;; C=C->getSuperClass()) { 695 const RetainSummary *getMethodSummary(Selector S, const ObjCInterfaceDecl *ID, 706 const ObjCInterfaceDecl *Class = M.getReceiverInterface(); 715 const ObjCInterfaceDecl *ID = MD->getClassInterface();
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 32 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation() 108 static const ObjCInterfaceDecl * 109 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, in maybeAdjustInterfaceForSubscriptingCheck() 145 const ObjCInterfaceDecl *OID = ObjTy->getInterface(); in maybeAdjustInterfaceForSubscriptingCheck() 156 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, in canRewriteToSubscriptSyntax() 203 static bool rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptGet() 213 static bool rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptGet() 223 static bool rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToArraySubscriptSet() 257 static bool rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, in rewriteToDictionarySubscriptSet() 299 const ObjCInterfaceDecl *IFace = in rewriteToObjCSubscriptSyntax()
|