Home
last modified time | relevance | path

Searched refs:IFD (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang/lib/Frontend/
H A DMultiplexConsumer.cpp109 const ObjCInterfaceDecl *IFD) override;
205 const ObjCInterfaceDecl *IFD) { in AddedObjCCategoryToInterface() argument
207 Listeners[i]->AddedObjCCategoryToInterface(CatD, IFD); in AddedObjCCategoryToInterface()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTMutationListener.h109 const ObjCInterfaceDecl *IFD) {} in AddedObjCCategoryToInterface() argument
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp939 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl() local
940 if (ObjCImplementationDecl *ImplD = Ctx.getObjCImplementation(IFD)) in getNextRedeclarationImpl()
950 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in getNextRedeclarationImpl() local
951 if (!IFD->isInvalidDecl()) in getNextRedeclarationImpl()
952 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
982 if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { in getCanonicalDecl() local
989 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
991 for (auto *Ext : IFD->known_extensions()) in getCanonicalDecl()
H A DRecordLayoutBuilder.cpp3413 const IndirectFieldDecl *IFD = cast<IndirectFieldDecl>(VD); in getFieldOffset() local
3416 for (const NamedDecl *ND : IFD->chain()) in getFieldOffset()
H A DExprConstant.cpp3155 const IndirectFieldDecl *IFD) { in HandleLValueIndirectMember() argument
3156 for (const auto *C : IFD->chain()) in HandleLValueIndirectMember()
4716 } else if (const IndirectFieldDecl *IFD = in HandleMemberPointerAccess() local
4718 if (!HandleLValueIndirectMember(Info, RHS, LV, IFD)) in HandleMemberPointerAccess()
6338 } else if (IndirectFieldDecl *IFD = I->getIndirectMember()) { in HandleConstructorCall() local
6341 auto IndirectFieldChain = IFD->chain(); in HandleConstructorCall()
8064 } else if (const IndirectFieldDecl *IFD = dyn_cast<IndirectFieldDecl>(MD)) { in VisitMemberExpr() local
8065 if (!HandleLValueIndirectMember(this->Info, E, Result, IFD)) in VisitMemberExpr()
11512 } else if (auto *IFD = dyn_cast<IndirectFieldDecl>(ME->getMemberDecl())) { in isDesignatorAtObjectEnd() local
11513 for (auto *FD : IFD->chain()) { in isDesignatorAtObjectEnd()
H A DDecl.cpp698 } else if (const auto *IFD = dyn_cast<IndirectFieldDecl>(D)) { in getLVForNamespaceScopeDecl() local
700 const VarDecl *VD = IFD->getVarDecl(); in getLVForNamespaceScopeDecl()
H A DItaniumMangle.cpp783 else if (const IndirectFieldDecl *IFD = in mangle() local
785 mangleName(IFD->getAnonField()); in mangle()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXType.cpp1048 if (const IndirectFieldDecl *IFD = dyn_cast<IndirectFieldDecl>(Res.front())) in clang_Type_getOffsetOf() local
1049 return Ctx.getFieldOffset(IFD); in clang_Type_getOffsetOf()
1081 if (const IndirectFieldDecl *IFD = dyn_cast_or_null<IndirectFieldDecl>(D)) in clang_Cursor_getOffsetOfField() local
1082 return Ctx.getFieldOffset(IFD); in clang_Cursor_getOffsetOfField()
H A DCIndex.cpp6871 if (const ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) in clang_getCanonicalCursor() local
6872 return MakeCXCursor(IFD, getCursorTU(C)); in clang_getCanonicalCursor()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp2321 const ObjCInterfaceDecl *IFD) { in DiagnoseMissingDesignatedInitOverrides() argument
2322 assert(IFD->hasDesignatedInitializers()); in DiagnoseMissingDesignatedInitOverrides()
2323 const ObjCInterfaceDecl *SuperD = IFD->getSuperClass(); in DiagnoseMissingDesignatedInitOverrides()
2341 if (auto *IMD = IFD->getInstanceMethod(MD->getSelector())) { in DiagnoseMissingDesignatedInitOverrides()
2345 for (auto *Ext : IFD->visible_extensions()) in DiagnoseMissingDesignatedInitOverrides()
H A DSemaChecking.cpp558 auto *IFD = dyn_cast<IndirectFieldDecl>(D); in dumpRecordValue() local
559 auto *FD = IFD ? IFD->getAnonField() : dyn_cast<FieldDecl>(D); in dumpRecordValue()
579 IFD ? S.BuildAnonymousStructUnionMemberReference( in dumpRecordValue()
580 CXXScopeSpec(), Loc, IFD, in dumpRecordValue()
581 DeclAccessPair::make(IFD, AS_public), RecordArg, Loc) in dumpRecordValue()
H A DSemaInit.cpp2574 if (auto *IFD = dyn_cast<IndirectFieldDecl>(ND)) { in CheckDesignatedInitializer() local
2578 ExpandAnonymousFieldDesignator(SemaRef, DIE, DesigIdx, IFD); in CheckDesignatedInitializer()
2580 KnownField = cast<FieldDecl>(*IFD->chain_begin()); in CheckDesignatedInitializer()
H A DSemaOpenMP.cpp1154 for (const auto &IFD : I->ImplicitDefaultFirstprivateFDs) in getImplicitFDCapExprDecl() local
1155 if (IFD.FD == FD && IFD.StackLevel == StackLevel) in getImplicitFDCapExprDecl()
1156 return IFD.VD; in getImplicitFDCapExprDecl()
1168 for (const auto &IFD : I->ImplicitDefaultFirstprivateFDs) in isImplicitDefaultFirstprivateFD() local
1169 if (IFD.VD == VD) in isImplicitDefaultFirstprivateFD()
H A DSemaDecl.cpp5370 if (const auto *IFD = dyn_cast<IndirectFieldDecl>(I)) in findDefaultInitializer() local
5371 FD = IFD->getAnonField(); in findDefaultInitializer()
17985 if (const auto *IFD = dyn_cast<IndirectFieldDecl>(I)) in ActOnFields() local
17986 if (IFD->getDeclName()) in ActOnFields()
H A DSemaCodeComplete.cpp6405 if (auto *IFD = dyn_cast<IndirectFieldDecl>(D)) in CodeCompleteDesignator() local
6406 FD = IFD->getAnonField(); in CodeCompleteDesignator()
H A DSemaDeclCXX.cpp3942 } else if (auto *IFD = dyn_cast<IndirectFieldDecl>(I)) { in DiagnoseUninitializedFields() local
3943 UninitializedFields.insert(IFD->getAnonField()); in DiagnoseUninitializedFields()
H A DSemaExpr.cpp2119 if (IndirectFieldDecl *IFD = dyn_cast<IndirectFieldDecl>(D)) in BuildDeclRefExpr() local
2120 FD = IFD->getAnonField(); in BuildDeclRefExpr()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTWriter.h745 const ObjCInterfaceDecl *IFD) override;
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp6069 const ObjCInterfaceDecl *IFD) { in AddedObjCCategoryToInterface() argument
6072 if (!IFD->isFromASTFile()) in AddedObjCCategoryToInterface()
6075 assert(IFD->getDefinition() && "Category on a class without a definition?"); in AddedObjCCategoryToInterface()
6077 const_cast<ObjCInterfaceDecl *>(IFD->getDefinition())); in AddedObjCCategoryToInterface()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h4718 const ObjCInterfaceDecl *IFD);