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

/external/clang/include/clang/AST/
H A DDecl.h69 /// TranslationUnitDecl - The top declaration context.
70 class TranslationUnitDecl : public Decl, public DeclContext { class in namespace:clang
78 explicit TranslationUnitDecl(ASTContext &ctx) function in class:clang::TranslationUnitDecl
88 static TranslationUnitDecl *Create(ASTContext &C);
91 static bool classof(const TranslationUnitDecl *D) { return true; }
93 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) {
94 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
96 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
97 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));

Completed in 68 milliseconds