HomeSort by: relevance | last modified time | path
    Searched defs:TranslationUnitDecl (Results 1 - 2 of 2) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
Decl.h 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) {
105 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
107 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
108 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));
113 /// TranslationUnitDecl.
123 PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc,
130 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
Decl.cpp 103 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx)
718 !isa<TranslationUnitDecl>(DC);
3036 const TranslationUnitDecl *tunit =
3037 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
3044 const TranslationUnitDecl *TUnit =
3045 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
3085 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext())
4732 void TranslationUnitDecl::anchor() {}
4734 TranslationUnitDecl *TranslationUnitDecl::Create(ASTContext &C)
    [all...]

Completed in 30 milliseconds