Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h246 class ExternCContextDecl : public Decl, public DeclContext {
247 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl() function
254 static ExternCContextDecl *Create(const ASTContext &C,
260 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext()
261 return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D)); in castToDeclContext()
263 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
264 return static_cast<ExternCContextDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
H A DASTContext.h677 mutable ExternCContextDecl *ExternCContext = nullptr;
1206 ExternCContextDecl *getExternCContextDecl() const;
H A DRecursiveASTVisitor.h1688 DEF_TRAVERSE_DECL(ExternCContextDecl, {})
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5429 void ExternCContextDecl::anchor() {} in anchor()
5431 ExternCContextDecl *ExternCContextDecl::Create(const ASTContext &C, in Create()
5433 return new (C, DC) ExternCContextDecl(DC); in Create()
H A DASTContext.cpp1203 ExternCContextDecl *ASTContext::getExternCContextDecl() const { in getExternCContextDecl()
1205 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl()); in getExternCContextDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1033 TemplateDeclInstantiator::VisitExternCContextDecl(ExternCContextDecl *D) { in VisitExternCContextDecl()