Home
last modified time | relevance | path

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

123456

/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp65 // ObjCInterfaceDecl
136 if (const auto *ID = dyn_cast<ObjCInterfaceDecl>(this)) { in HasUserDeclaredSetterMethod()
164 ObjCInterfaceDecl *OSC = ID->getSuperClass(); in HasUserDeclaredSetterMethod()
192 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { in findPropertyDecl()
262 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration()
286 const auto *OID = cast<ObjCInterfaceDecl>(this); in FindPropertyDeclaration()
302 if (const ObjCInterfaceDecl *superClass = OID->getSuperClass()) in FindPropertyDeclaration()
320 void ObjCInterfaceDecl::anchor() {}
322 ObjCTypeParamList *ObjCInterfaceDecl::getTypeParamList() const { in getTypeParamList()
328 if (const ObjCInterfaceDecl *de in getTypeParamList()
1567 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, ObjCInterfaceDecl() function in ObjCInterfaceDecl
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h52 class ObjCInterfaceDecl; variable
315 ObjCInterfaceDecl *getClassInterface();
316 const ObjCInterfaceDecl *getClassInterface() const { in getClassInterface()
411 void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID);
415 QualType getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID,
944 /// Current sub-classes are ObjCInterfaceDecl, ObjCCategoryDecl,
1152 class ObjCInterfaceDecl : public ObjCContainerDecl
1153 , public Redeclarable<ObjCInterfaceDecl> {
1164 ObjCInterfaceDecl *Definition = nullptr;
1245 ObjCInterfaceDecl(cons
[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.h33 class ObjCInterfaceDecl;
111 const ObjCInterfaceDecl *IFD) {}
32 class ObjCInterfaceDecl; global() variable
/freebsd-src/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.cpp910 SmallVector<const ObjCInterfaceDecl*, 16> ImplementedClasses;
1035 const ObjCInterfaceDecl *ID,
1079 const ObjCInterfaceDecl *ClassReceiver,
1245 const ObjCInterfaceDecl *ID);
1253 llvm::Value *EmitSuperClassRef(const ObjCInterfaceDecl *ID);
1266 llvm::Constant *EmitMetaClassRef(const ObjCInterfaceDecl *ID);
1327 const ObjCInterfaceDecl *Class,
1333 Selector Sel, const ObjCInterfaceDecl *Class,
1339 const ObjCInterfaceDecl *ID) override;
1397 const ObjCInterfaceDecl *Interfac
[all...]
/freebsd-src/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()
94 "(ASTContext*)%p Completing (ObjCInterfaceDecl*)%p named %s", in CompleteType()
144 clang::ObjCInterfaceDecl *
164 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA()
300 clang::ObjCInterfaceDecl *interface_dec in BuildMethod()
[all...]
H A DAppleObjCDeclVendor.h36 clang::ObjCInterfaceDecl *GetDeclForISA(ObjCLanguageRuntime::ObjCISA isa);
37 bool FinishDecl(clang::ObjCInterfaceDecl *decl);
45 clang::ObjCInterfaceDecl *>
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp291 void ClangASTSource::CompleteType(clang::ObjCInterfaceDecl *interface_decl) {
296 "Completing an ObjCInterfaceDecl named {1}", in CompleteType()
305 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType()
306 dyn_cast<ObjCInterfaceDecl>(original.decl)) { in CompleteType()
307 ObjCInterfaceDecl *complete_iface_decl = in CompleteType()
326 clang::ObjCInterfaceDecl *ClangASTSource::GetCompleteObjCInterface(
327 const clang::ObjCInterfaceDecl *interface_decl) { in GetCompleteObjCInterface()
362 ObjCInterfaceDecl *complete_iface_decl(complete_interface_type->getDecl()); in GetCompleteObjCInterface()
418 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls()
419 dyn_cast<ObjCInterfaceDecl>(origina in FindExternalLexicalDecls()
[all...]
H A DClangASTImporter.cpp290 if (!isa<TagDecl>(to) && !isa<ObjCInterfaceDecl>(to)) in NewDeclImported()
394 clang::ObjCInterfaceDecl *class_interface_decl = in CanImport()
468 clang::ObjCInterfaceDecl *class_interface_decl = in Import()
836 clang::ObjCInterfaceDecl *interface_decl) { in ImportImpl()
851 if (ObjCInterfaceDecl *super_class = interface_decl->getSuperClass()) in ImportImpl()
896 if (ObjCInterfaceDecl *objc_interface_decl = in ImportDefinitionTo()
906 ObjCInterfaceDecl *origin_interface_decl = in ImportDefinitionTo()
907 llvm::dyn_cast<ObjCInterfaceDecl>(decl_origin.decl); in ImportDefinitionTo()
940 if (ObjCInterfaceDecl *objc_interface_decl = in ImportDefinitionTo()
1188 if (ObjCInterfaceDecl *to_objc_interfac
[all...]
H A DClangASTSource.h150 /// Complete an ObjCInterfaceDecl.
154 void CompleteType(clang::ObjCInterfaceDecl *Class) override;
230 void CompleteType(clang::ObjCInterfaceDecl *Class) override { in CompleteType()
262 /// An ObjCInterfaceDecl that may not be the complete one.
267 clang::ObjCInterfaceDecl *
268 GetCompleteObjCInterface(const clang::ObjCInterfaceDecl *interface_decl);
358 DeclFromUser<const clang::ObjCInterfaceDecl> &origin_iface_decl);
363 clang::ObjCInterfaceDecl *original_interface_decl, const char *log_info);
H A DClangExternalASTSourceCallbacks.cpp26 clang::ObjCInterfaceDecl *objc_decl) { in CompleteType()
57 if (auto *oid = llvm::dyn_cast<clang::ObjCInterfaceDecl>(DC)) { in FindExternalVisibleDeclsByName()
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp64 ObjCInterfaceDecl *resultClass = result->getInterface(); in checkInitMethod()
78 const ObjCInterfaceDecl *receiverClass = nullptr; in checkInitMethod()
154 ObjCInterfaceDecl *CurrentClass in CheckObjCMethodOverride()
155 = dyn_cast<ObjCInterfaceDecl>(NewMethod->getDeclContext()); in CheckObjCMethodOverride()
445 if (ObjCInterfaceDecl *IC = MDecl->getClassInterface()) { in ActOnStartOfObjCMethodDef()
455 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef()
459 if (ObjCInterfaceDecl *OID = CD->getClassInterface()) in ActOnStartOfObjCMethodDef()
485 if (const ObjCInterfaceDecl *SuperClass = IC->getSuperClass()) { in ActOnStartOfObjCMethodDef()
514 // If an ObjCInterfaceDecl* i in ValidateCandidate()
[all...]
H A DSemaObjCProperty.cpp221 (isa<ObjCInterfaceDecl>(ClassDecl) || in ActOnProperty()
229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty()
232 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; in ActOnProperty()
233 while (ObjCInterfaceDecl *Super = CurrentInterfaceDecl->getSuperClass()) { in ActOnProperty()
414 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension()
580 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); in CreatePropertyDecl()
824 ObjCInterfaceDecl *ClassDecl, in isIncompatiblePropertyAttribute()
828 ObjCInterfaceDecl::ProtocolPropertySet ProtocolSet; in areIncompatiblePropertyAttributes()
829 ObjCInterfaceDecl in areIncompatiblePropertyAttributes()
[all...]
H A DSemaExprObjC.cpp110 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
125 if (ObjCInterfaceDecl *StrIF = dyn_cast_or_null<ObjCInterfaceDecl>(IF)) { in BuildObjCStringLiteral()
136 ObjCInterfaceDecl *NSStringIDecl = in BuildObjCStringLiteral()
137 ObjCInterfaceDecl::Create (Context, in BuildObjCStringLiteral()
154 const ObjCInterfaceDecl *Class, in validateBoxingMethod()
199 /// Validates ObjCInterfaceDecl availability. in ValidateObjCLiteralInterfaceDecl()
200 /// ObjCInterfaceDecl, used to create ObjC literals, should be defined in ValidateObjCLiteralInterfaceDecl()
203 ValidateObjCLiteralInterfaceDecl(Sema &S, ObjCInterfaceDecl *Dec in ValidateObjCLiteralInterfaceDecl()
[all...]
H A DSemaAvailability.cpp94 ObjCInterfaceDecl *ClassReceiver) { in ShouldDiagnoseAvailabilityOfDecl()
117 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) {
224 if (const ObjCInterfaceDecl *Interface = CatOrImpl->getClassInterface()) in findEnclosingDeclToAnnotate()
230 if (const ObjCInterfaceDecl *Interface = CatD->getClassInterface()) in findEnclosingDeclToAnnotate()
393 const ObjCInterfaceDecl *UnknownObjCClass, in DoEmitAvailabilityWarning()
675 const ObjCInterfaceDecl *UnknownObjCClass, in findLastStmtThatUsesDecl()
775 ObjCInterfaceDecl *ClassReceiver = nullptr); in DiagnoseDeclAvailability()
805 ObjCInterfaceDecl *ID = nullptr; in DiagnoseDeclAvailability()
838 NamedDecl *D, SourceRange Range, ObjCInterfaceDecl *ReceiverClass) { in DiagnoseDeclAvailability()
1045 const ObjCInterfaceDecl *UnknownObjCClas
[all...]
/freebsd-src/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()
626 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in checkPreObjCMessage()
689 const ObjCInterfaceDecl *Class = MD->getClassInterface(); in isVariadicMessage()
702 const ObjCInterfaceDecl *Class = msg.getReceiverInterface(); in isVariadicMessage()
840 const ObjCInterfaceDecl *ID = PT->getInterfaceDecl(); in isKnownNonNilCollectionType()
1020 const ObjCInterfaceDecl *ClassID = M.getReceiverInterface(); in checkPostObjCMessage()
1066 const ObjCInterfaceDecl *StaticClas 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-src/contrib/llvm-project/clang/lib/Analysis/
H A DObjCNoReturn.cpp20 static bool isSubclass(const ObjCInterfaceDecl *Class, in isSubclass()
57 if (const ObjCInterfaceDecl *ID = ME->getReceiverInterface()) { in isImplicitNoReturn()
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DDelayedDiagnostic.h43 class ObjCInterfaceDecl; variable
141 const ObjCInterfaceDecl *UnknownObjCClass,
223 const ObjCInterfaceDecl *getUnknownObjCClass() const { in getUnknownObjCClass()
239 const ObjCInterfaceDecl *UnknownObjCClass;
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp114 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCSynthesizedStructs;
116 llvm::SmallPtrSet<ObjCInterfaceDecl*, 8> ObjCWrittenInterfaces;
118 SmallVector<ObjCInterfaceDecl*, 32> ObjCInterfacesSeen;
120 SmallVector<ObjCInterfaceDecl*, 8> DefinedNonLazyClasses;
149 llvm::DenseMap<ObjCInterfaceDecl *,
153 llvm::DenseSet<const ObjCInterfaceDecl *> ObjCInterefaceHasBitfieldGroups;
157 llvm::DenseMap<std::pair<const ObjCInterfaceDecl*, unsigned>, QualType> GroupRecordType;
193 if (ObjCInterfaceDecl *Class = dyn_cast<ObjCInterfaceDecl>(*I)) { in HandleTopLevelDecl()
316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDec
[all...]

123456