diff options
Diffstat (limited to 'include/lldb/Target/CPPLanguageRuntime.h')
-rw-r--r-- | include/lldb/Target/CPPLanguageRuntime.h | 51 |
1 files changed, 22 insertions, 29 deletions
diff --git a/include/lldb/Target/CPPLanguageRuntime.h b/include/lldb/Target/CPPLanguageRuntime.h index 788f4e60a493..aae85f420ef7 100644 --- a/include/lldb/Target/CPPLanguageRuntime.h +++ b/include/lldb/Target/CPPLanguageRuntime.h @@ -1,4 +1,5 @@ -//===-- CPPLanguageRuntime.h ---------------------------------------------------*- C++ -*-===// +//===-- CPPLanguageRuntime.h +//---------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -16,42 +17,34 @@ // Other libraries and framework includes // Project includes #include "lldb/Core/PluginInterface.h" -#include "lldb/lldb-private.h" #include "lldb/Target/LanguageRuntime.h" +#include "lldb/lldb-private.h" namespace lldb_private { -class CPPLanguageRuntime : - public LanguageRuntime -{ +class CPPLanguageRuntime : public LanguageRuntime { public: - ~CPPLanguageRuntime() override; - - lldb::LanguageType - GetLanguageType() const override - { - return lldb::eLanguageTypeC_plus_plus; - } - - virtual bool - IsVTableName (const char *name) = 0; - - bool - GetObjectDescription(Stream &str, ValueObject &object) override; - - bool - GetObjectDescription(Stream &str, Value &value, ExecutionContextScope *exe_scope) override; - -protected: + ~CPPLanguageRuntime() override; - //------------------------------------------------------------------ - // Classes that inherit from CPPLanguageRuntime can see and modify these - //------------------------------------------------------------------ - CPPLanguageRuntime(Process *process); + lldb::LanguageType GetLanguageType() const override { + return lldb::eLanguageTypeC_plus_plus; + } -private: + virtual bool IsVTableName(const char *name) = 0; + + bool GetObjectDescription(Stream &str, ValueObject &object) override; - DISALLOW_COPY_AND_ASSIGN (CPPLanguageRuntime); + bool GetObjectDescription(Stream &str, Value &value, + ExecutionContextScope *exe_scope) override; + +protected: + //------------------------------------------------------------------ + // Classes that inherit from CPPLanguageRuntime can see and modify these + //------------------------------------------------------------------ + CPPLanguageRuntime(Process *process); + +private: + DISALLOW_COPY_AND_ASSIGN(CPPLanguageRuntime); }; } // namespace lldb_private |