Lines Matching refs:DeclContext
44 static const DeclContext *getEffectiveDeclContext(const Decl *D) {
65 const DeclContext *DC = D->getDeclContext();
82 static const DeclContext *getEffectiveParentContext(const DeclContext *DC) {
86 static bool isLocalContainerContext(const DeclContext *DC) {
91 const DeclContext *DC = getEffectiveDeclContext(D);
124 typedef std::pair<const DeclContext*, IdentifierInfo*> DiscriminatorKeyTy;
199 const DeclContext *DC = getEffectiveDeclContext(ND);
496 void mangleNestedName(GlobalDecl GD, const DeclContext *DC,
503 void manglePrefix(const DeclContext *DC, bool NoFunction=false);
618 const DeclContext *DC = getEffectiveDeclContext(D);
770 static const DeclContext *IgnoreLinkageSpecDecls(const DeclContext *DC) {
790 static bool isStdNamespace(const DeclContext *DC) {
867 const DeclContext *DC = getEffectiveDeclContext(ND);
869 // If this is an extern variable declared locally, the relevant DeclContext
950 const DeclContext *DC = IgnoreLinkageSpecDecls(getEffectiveDeclContext(TD));
1540 const DeclContext *DC,
1585 static GlobalDecl getParentOfLocalEntity(const DeclContext *DC) {
1610 const DeclContext *DC = getEffectiveDeclContext(RD ? RD : D);
1705 const DeclContext *DC = getEffectiveDeclContext(Block);
1911 void CXXNameMangler::manglePrefix(const DeclContext *DC, bool NoFunction) {