Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h222 class ExternCContextDecl : public Decl, public DeclContext {
223 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl() function
230 static ExternCContextDecl *Create(const ASTContext &C,
236 static DeclContext *castToDeclContext(const ExternCContextDecl *D) { in castToDeclContext()
237 return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D)); in castToDeclContext()
239 static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
240 return static_cast<ExternCContextDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
H A DASTContext.h606 mutable ExternCContextDecl *ExternCContext = nullptr;
1113 ExternCContextDecl *getExternCContextDecl() const;
H A DRecursiveASTVisitor.h1658 DEF_TRAVERSE_DECL(ExternCContextDecl, {})
/src/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5322 void ExternCContextDecl::anchor() {} in anchor()
5324 ExternCContextDecl *ExternCContextDecl::Create(const ASTContext &C, in Create()
5326 return new (C, DC) ExternCContextDecl(DC); in Create()
H A DASTContext.cpp1139 ExternCContextDecl *ASTContext::getExternCContextDecl() const { in getExternCContextDecl()
1141 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl()); in getExternCContextDecl()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp960 TemplateDeclInstantiator::VisitExternCContextDecl(ExternCContextDecl *D) { in VisitExternCContextDecl()