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

/external/clang/include/clang/AST/
H A DDecl.h79 /// TranslationUnitDecl - The top declaration context.
80 class TranslationUnitDecl : public Decl, public DeclContext { class in namespace:clang
88 explicit TranslationUnitDecl(ASTContext &ctx);
95 static TranslationUnitDecl *Create(ASTContext &C);
99 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) {
100 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
102 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
103 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));
108 /// TranslationUnitDecl.
120 PragmaCommentDecl(TranslationUnitDecl *T
[all...]
/external/clang/lib/AST/
H A DDecl.cpp48 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) function in class:TranslationUnitDecl
663 !isa<TranslationUnitDecl>(DC);
2521 const TranslationUnitDecl *tunit =
2522 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2529 const TranslationUnitDecl *TUnit =
2530 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2570 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext())
3917 void TranslationUnitDecl::anchor() { }
3919 TranslationUnitDecl *TranslationUnitDec
[all...]

Completed in 132 milliseconds