Home
last modified time | relevance | path

Searched refs:ExternCContextDecl (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h220 class ExternCContextDecl : public Decl, public DeclContext {
221 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl() function
228 static ExternCContextDecl *Create(const ASTContext &C,
234 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext()
235 return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D)); in castToDeclContext()
237 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
238 return static_cast<ExternCContextDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
H A DASTContext.h606 mutable ExternCContextDecl *ExternCContext = nullptr;
1101 ExternCContextDecl *getExternCContextDecl() const;
H A DRecursiveASTVisitor.h1630 DEF_TRAVERSE_DECL(ExternCContextDecl, {})
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp4930 void ExternCContextDecl::anchor() {} in anchor()
4932 ExternCContextDecl *ExternCContextDecl::Create(const ASTContext &C, in Create()
4934 return new (C, DC) ExternCContextDecl(DC); in Create()
H A DASTContext.cpp1201 ExternCContextDecl *ASTContext::getExternCContextDecl() const { in getExternCContextDecl()
1203 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl()); in getExternCContextDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp887 TemplateDeclInstantiator::VisitExternCContextDecl(ExternCContextDecl *D) { in VisitExternCContextDecl()