Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.h580 mutable ExternCContextDecl *ExternCContext = nullptr;
1072 ExternCContextDecl *getExternCContextDecl() const;
H A DRecursiveASTVisitor.h1622 DEF_TRAVERSE_DECL(ExternCContextDecl, {})
/openbsd/gnu/llvm/clang/lib/AST/
H A DDecl.cpp5010 void ExternCContextDecl::anchor() {} in anchor()
5012 ExternCContextDecl *ExternCContextDecl::Create(const ASTContext &C, in Create()
5014 return new (C, DC) ExternCContextDecl(DC); in Create()
H A DASTContext.cpp1175 ExternCContextDecl *ASTContext::getExternCContextDecl() const { in getExternCContextDecl()
1177 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl()); in getExternCContextDecl()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp895 TemplateDeclInstantiator::VisitExternCContextDecl(ExternCContextDecl *D) { in VisitExternCContextDecl()