Searched defs:TranslationUnitDecl (Results 1 - 1 of 1) sorted by relevance

/external/clang/include/clang/AST/
H A DDecl.h72 /// TranslationUnitDecl - The top declaration context.
73 class TranslationUnitDecl : public Decl, public DeclContext { class in namespace:clang
81 explicit TranslationUnitDecl(ASTContext &ctx) function in class:clang::TranslationUnitDecl
91 static TranslationUnitDecl *Create(ASTContext &C);
95 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) {
96 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
98 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
99 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));

Completed in 239 milliseconds