9 #ifndef LLVM_CLANG_AST_ASTDUMPER_H 10 #define LLVM_CLANG_AST_ASTDUMPER_H 23 const bool ShowColors;
28 :
ASTDumper(OS, Traits, SM, SM && SM->getDiagnostics().getShowColors()) {}
36 : NodeDumper(OS, ShowColors, SM, PrintPolicy, Traits), OS(OS),
37 ShowColors(ShowColors) {}
43 template <
typename SpecializationDecl>
45 bool DumpExplicitInst,
bool DumpRefOnly);
46 template <
typename TemplateDecl>
Declaration of a variable template.
Describes how types, statements, expressions, and declarations should be printed. ...
void dumpTemplateDeclSpecialization(const SpecializationDecl *D, bool DumpExplicitInst, bool DumpRefOnly)
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
void VisitVarTemplateDecl(const VarTemplateDecl *D)
void VisitFunctionTemplateDecl(const FunctionTemplateDecl *D)
void dumpLookups(const DeclContext *DC, bool DumpDecls)
void dumpTemplateDecl(const TemplateDecl *D, bool DumpExplicitInst)
ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM, bool ShowColors, const PrintingPolicy &PrintPolicy)
ASTNodeTraverser traverses the Clang AST for dumping purposes.
Dataflow Directional Tag Classes.
ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM)
DeclContext - This is used only as base class of specific decl types that can act as declaration cont...
The base class of all kinds of template declarations (e.g., class, function, etc.).
ASTDumper(raw_ostream &OS, const comments::CommandTraits *Traits, const SourceManager *SM, bool ShowColors)
Declaration of a class template.
void VisitClassTemplateDecl(const ClassTemplateDecl *D)
TextNodeDumper & doGetNodeDelegate()
This class handles loading and caching of source files into memory.
Declaration of a template function.