1 //===-- ASTDumper.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_ASTDumper_h_
11 #define liblldb_ASTDumper_h_
13 #include "clang/AST/DeclVisitor.h"
14 #include "clang/AST/StmtVisitor.h"
15 #include "clang/AST/TypeVisitor.h"
17 #include "lldb/Core/Stream.h"
18 #include "llvm/ADT/DenseSet.h"
20 namespace lldb_private
26 ASTDumper (clang::Decl *decl);
27 ASTDumper (clang::DeclContext *decl_ctx);
28 ASTDumper (const clang::Type *type);
29 ASTDumper (clang::QualType type);
30 ASTDumper (lldb::clang_type_t type);
31 ASTDumper (const ClangASTType &clang_type);
33 const char *GetCString();
35 void ToLog(Log *log, const char *prefix);
36 void ToStream(lldb::StreamSP &stream);
41 } // namespace lldb_private