Lines Matching refs:getDeclContext
201 const DeclContext *DC = OMD->getDeclContext(); in getObjCMethodName()
782 getContextDescriptor(cast<Decl>(AliasDecl->getDeclContext()))); in CreateType()
794 getContextDescriptor(cast<Decl>(Ty->getDecl()->getDeclContext()))); in CreateType()
1081 if (const CXXRecordDecl *NRD = dyn_cast<CXXRecordDecl>(RD->getDeclContext())) in isFunctionLocalClass()
1083 if (isa<FunctionDecl>(RD->getDeclContext())) in isFunctionLocalClass()
1550 Ty, getContextDescriptor(cast<Decl>(RD->getDeclContext()))); in CreateType()
1941 getContextDescriptor(cast<Decl>(ED->getDeclContext())); in CreateEnumType()
1982 getContextDescriptor(cast<Decl>(ED->getDeclContext())); in CreateTypeDefinition()
2241 getContextDescriptor(cast<Decl>(RD->getDeclContext())); in CreateLimitedType()
2332 dyn_cast_or_null<NamespaceDecl>(FD->getDeclContext())) in collectFunctionDeclProps()
2335 dyn_cast_or_null<RecordDecl>(FD->getDeclContext())) in collectFunctionDeclProps()
2362 if (VD->getDeclContext() && !isa<FunctionDecl>(VD->getDeclContext()) && in collectVarDeclProps()
2363 !isa<ObjCMethodDecl>(VD->getDeclContext())) in collectVarDeclProps()
2375 : VD->getDeclContext(); in collectVarDeclProps()
2474 llvm::DIScope S = getContextDescriptor(cast<Decl>(D->getDeclContext())); in getFunctionDeclaration()
2803 VD->isImplicit() || (isa<Decl>(VD->getDeclContext()) && in EmitDeclare()
2804 cast<Decl>(VD->getDeclContext())->isImplicit()); in EmitDeclare()
3034 getContextDescriptor(cast<Decl>(blockDecl->getDeclContext())); in EmitDeclareOfBlockLiteralArgVariable()
3180 auto DC = D->getDeclContext(); in getOrCreateStaticDataMemberDeclarationOrNull()
3256 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext()); in EmitGlobalVariable()
3264 if (isa<FunctionDecl>(VD->getDeclContext())) in EmitGlobalVariable()
3269 auto *RD = cast<RecordDecl>(VarD->getDeclContext()); in EmitGlobalVariable()
3278 getContextDescriptor(dyn_cast<Decl>(VD->getDeclContext())); in EmitGlobalVariable()
3298 getCurrentContextDescriptor(cast<Decl>(UD.getDeclContext())), in EmitUsingDirective()
3314 getCurrentContextDescriptor(cast<Decl>(USD.getDeclContext())), Target, in EmitUsingDecl()
3330 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()
3335 getCurrentContextDescriptor(cast<Decl>(NA.getDeclContext())), in EmitNamespaceAlias()
3354 getContextDescriptor(dyn_cast<Decl>(NSDecl->getDeclContext())); in getOrCreateNameSpace()