Lines Matching refs:TranslationUnitDecl
82 class TranslationUnitDecl : public Decl, public DeclContext {
89 explicit TranslationUnitDecl(ASTContext &ctx);
99 static TranslationUnitDecl *Create(ASTContext &C);
104 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
105 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext()
107 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
108 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
123 PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc, in PragmaCommentDecl()
130 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC,
157 PragmaDetectMismatchDecl(TranslationUnitDecl *TU, SourceLocation Loc, in PragmaDetectMismatchDecl()
165 TranslationUnitDecl *DC,
197 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl()
205 TranslationUnitDecl *TU);