diff options
Diffstat (limited to 'lldb/source/API/SBCommandContext.cpp')
-rw-r--r-- | lldb/source/API/SBCommandContext.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lldb/source/API/SBCommandContext.cpp b/lldb/source/API/SBCommandContext.cpp new file mode 100644 index 00000000000..3a1b60aa314 --- /dev/null +++ b/lldb/source/API/SBCommandContext.cpp @@ -0,0 +1,34 @@ +//===-- SBCommandContext.cpp ------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "lldb/Interpreter/CommandContext.h" +#include "lldb/Interpreter/CommandReturnObject.h" + +#include "SBCommandContext.h" + + +using namespace lldb; +using namespace lldb_private; + + +SBCommandContext::SBCommandContext (CommandContext *lldb_object) : + m_lldb_object (lldb_object) +{ +} + +SBCommandContext::~SBCommandContext () +{ +} + +bool +SBCommandContext::IsValid () const +{ + return m_lldb_object != NULL; +} + |