Lines Matching refs:getDeclContext

203   return getContextDescriptor(cast<Decl>(D->getDeclContext()),  in getDeclContextDescriptor()
259 const DeclContext *DC = OMD->getDeclContext(); in getObjCMethodName()
299 assert(RD->getDeclContext() == D->getDeclContext() && in getClassName()
1567 nestedType->getDeclContext() == record) in CollectRecordFields()
1645 if (const auto *NRD = dyn_cast<CXXRecordDecl>(RD->getDeclContext())) in isFunctionLocalClass()
1647 if (isa<FunctionDecl>(RD->getDeclContext())) in isFunctionLocalClass()
3541 dyn_cast_or_null<NamespaceDecl>(FD->getDeclContext())) in collectFunctionDeclProps()
3544 dyn_cast_or_null<RecordDecl>(FD->getDeclContext())) { in collectFunctionDeclProps()
3579 if (VD->getDeclContext() && !isa<FunctionDecl>(VD->getDeclContext()) && in collectVarDeclProps()
3580 !isa<ObjCMethodDecl>(VD->getDeclContext())) in collectVarDeclProps()
3599 : VD->getDeclContext(); in collectVarDeclProps()
3771 auto *ID = dyn_cast_or_null<ObjCInterfaceDecl>(D->getDeclContext()); in getObjCMethodDeclaration()
4235 VD->isImplicit() || (isa<Decl>(VD->getDeclContext()) && in EmitDeclare()
4236 cast<Decl>(VD->getDeclContext())->isImplicit()); in EmitDeclare()
4713 auto DC = D->getDeclContext(); in getOrCreateStaticDataMemberDeclarationOrNull()
4836 const auto *ED = cast<EnumDecl>(ECD->getDeclContext()); in EmitGlobalVariable()
4844 if (isa<RecordDecl>(ED->getDeclContext())) in EmitGlobalVariable()
4859 if (isa<FunctionDecl>(VD->getDeclContext())) in EmitGlobalVariable()
4865 auto *RD = cast<RecordDecl>(VarD->getDeclContext()); in EmitGlobalVariable()
4942 getCurrentContextDescriptor(cast<Decl>(UD.getDeclContext())), in EmitUsingDirective()
4952 getCurrentContextDescriptor(cast<Decl>(USD.getDeclContext())), Target, in EmitUsingShadowDecl()
5000 getCurrentContextDescriptor(cast<Decl>(ID.getDeclContext())), in EmitImportDecl()
5019 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()
5024 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()