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/TypeVisitor.h"
16 #include "lldb/Utility/Stream.h"
17 #include "llvm/ADT/DenseSet.h"
19 namespace lldb_private {
23 ASTDumper(clang::Decl *decl);
24 ASTDumper(clang::DeclContext *decl_ctx);
25 ASTDumper(const clang::Type *type);
26 ASTDumper(clang::QualType type);
27 ASTDumper(lldb::opaque_compiler_type_t type);
28 ASTDumper(const CompilerType &compiler_type);
30 const char *GetCString();
32 void ToLog(Log *log, const char *prefix);
33 void ToStream(lldb::StreamSP &stream);
39 } // namespace lldb_private