• Home
  • Raw
  • Download

Lines Matching refs:getDeclContext

156   return getContextDescriptor(cast<Decl>(D->getDeclContext()),  in getDeclContextDescriptor()
224 const DeclContext *DC = OMD->getDeclContext(); in getObjCMethodName()
279 assert(RD->getDeclContext() == D->getDeclContext() && in getClassName()
1204 if (const CXXRecordDecl *NRD = dyn_cast<CXXRecordDecl>(RD->getDeclContext())) in isFunctionLocalClass()
1206 if (isa<FunctionDecl>(RD->getDeclContext())) in isFunctionLocalClass()
2627 dyn_cast_or_null<NamespaceDecl>(FD->getDeclContext())) in collectFunctionDeclProps()
2630 dyn_cast_or_null<RecordDecl>(FD->getDeclContext())) { in collectFunctionDeclProps()
2659 if (VD->getDeclContext() && !isa<FunctionDecl>(VD->getDeclContext()) && in collectVarDeclProps()
2660 !isa<ObjCMethodDecl>(VD->getDeclContext())) in collectVarDeclProps()
2672 : VD->getDeclContext(); in collectVarDeclProps()
3128 VD->isImplicit() || (isa<Decl>(VD->getDeclContext()) && in EmitDeclare()
3129 cast<Decl>(VD->getDeclContext())->isImplicit()); in EmitDeclare()
3513 auto DC = D->getDeclContext(); in getOrCreateStaticDataMemberDeclarationOrNull()
3587 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext()); in EmitGlobalVariable()
3597 if (isa<FunctionDecl>(VD->getDeclContext())) in EmitGlobalVariable()
3602 auto *RD = cast<RecordDecl>(VarD->getDeclContext()); in EmitGlobalVariable()
3637 getCurrentContextDescriptor(cast<Decl>(UD.getDeclContext())), in EmitUsingDirective()
3654 getCurrentContextDescriptor(cast<Decl>(USD.getDeclContext())), Target, in EmitUsingDecl()
3664 getCurrentContextDescriptor(cast<Decl>(ID.getDeclContext())), in EmitImportDecl()
3682 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()
3687 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()