diff options
Diffstat (limited to 'source/Plugins/ExpressionParser/Clang/ASTDumper.h')
-rw-r--r-- | source/Plugins/ExpressionParser/Clang/ASTDumper.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/source/Plugins/ExpressionParser/Clang/ASTDumper.h b/source/Plugins/ExpressionParser/Clang/ASTDumper.h index c8dc6847d6c2..9a72fb64e537 100644 --- a/source/Plugins/ExpressionParser/Clang/ASTDumper.h +++ b/source/Plugins/ExpressionParser/Clang/ASTDumper.h @@ -16,25 +16,24 @@ #include "lldb/Core/Stream.h" #include "llvm/ADT/DenseSet.h" -namespace lldb_private -{ - -class ASTDumper -{ +namespace lldb_private { + +class ASTDumper { public: - ASTDumper (clang::Decl *decl); - ASTDumper (clang::DeclContext *decl_ctx); - ASTDumper (const clang::Type *type); - ASTDumper (clang::QualType type); - ASTDumper (lldb::opaque_compiler_type_t type); - ASTDumper (const CompilerType &compiler_type); - - const char *GetCString(); - void ToSTDERR(); - void ToLog(Log *log, const char *prefix); - void ToStream(lldb::StreamSP &stream); + ASTDumper(clang::Decl *decl); + ASTDumper(clang::DeclContext *decl_ctx); + ASTDumper(const clang::Type *type); + ASTDumper(clang::QualType type); + ASTDumper(lldb::opaque_compiler_type_t type); + ASTDumper(const CompilerType &compiler_type); + + const char *GetCString(); + void ToSTDERR(); + void ToLog(Log *log, const char *prefix); + void ToStream(lldb::StreamSP &stream); + private: - std::string m_dump; + std::string m_dump; }; } // namespace lldb_private |