Lines Matching refs:DeclContext
106 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, in AccessSpecDecl()
129 DeclContext *DC, SourceLocation ASLoc, in Create()
616 friend class DeclContext; variable
640 CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
682 static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
687 static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC,
1411 bool isCurrentInstantiation(const DeclContext *CurContext) const;
2463 class LinkageSpecDecl : public Decl, public DeclContext {
2490 LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc, in LinkageSpecDecl()
2492 : Decl(LinkageSpec, DC, LangLoc), DeclContext(LinkageSpec), in LinkageSpecDecl()
2497 static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC,
2537 static DeclContext *castToDeclContext(const LinkageSpecDecl *D) { in castToDeclContext()
2538 return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D)); in castToDeclContext()
2540 static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
2541 return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
2571 DeclContext *CommonAncestor;
2581 UsingDirectiveDecl(DeclContext *DC, SourceLocation UsingLoc, in UsingDirectiveDecl()
2586 DeclContext *CommonAncestor) in UsingDirectiveDecl()
2616 DeclContext *getCommonAncestor() { return CommonAncestor; } in getCommonAncestor()
2617 const DeclContext *getCommonAncestor() const { return CommonAncestor; } in getCommonAncestor()
2629 static UsingDirectiveDecl *Create(ASTContext &C, DeclContext *DC,
2635 DeclContext *CommonAncestor);
2646 friend class DeclContext; variable
2677 NamespaceAliasDecl(ASTContext &C, DeclContext *DC, in NamespaceAliasDecl()
2693 static NamespaceAliasDecl *Create(ASTContext &C, DeclContext *DC,
2786 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, in UsingShadowDecl()
2810 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create()
2887 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl()
2981 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3027 UnresolvedUsingValueDecl(DeclContext *DC, QualType Ty, in UnresolvedUsingValueDecl()
3061 Create(ASTContext &C, DeclContext *DC, SourceLocation UsingLoc,
3107 UnresolvedUsingTypenameDecl(DeclContext *DC, SourceLocation UsingLoc, in UnresolvedUsingTypenameDecl()
3135 Create(ASTContext &C, DeclContext *DC, SourceLocation UsingLoc,
3161 StaticAssertDecl(DeclContext *DC, SourceLocation StaticAssertLoc, in StaticAssertDecl()
3169 static StaticAssertDecl *Create(ASTContext &C, DeclContext *DC,
3225 MSPropertyDecl(DeclContext *DC, SourceLocation L, DeclarationName N, in MSPropertyDecl()
3232 static MSPropertyDecl *Create(ASTContext &C, DeclContext *DC,