llvm-project/lldb/source/API/SBCommandContext.cpp
2010-06-08 16:52:24 +00:00

35 lines
751 B
C++

//===-- 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;
}