blob: c022a71082a353f7bb99e2e8a1257b8a11588f2d [file] [log] [blame]
Chris Lattner24943d22010-06-08 16:52:24 +00001//===-- SBCommandContext.cpp ------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "lldb/Interpreter/CommandContext.h"
11#include "lldb/Interpreter/CommandReturnObject.h"
12
Eli Friedmand6ec8aa2010-06-09 07:37:52 +000013#include "lldb/API/SBCommandContext.h"
Chris Lattner24943d22010-06-08 16:52:24 +000014
15
16using namespace lldb;
17using namespace lldb_private;
18
19
20SBCommandContext::SBCommandContext (CommandContext *lldb_object) :
21 m_lldb_object (lldb_object)
22{
23}
24
25SBCommandContext::~SBCommandContext ()
26{
27}
28
29bool
30SBCommandContext::IsValid () const
31{
32 return m_lldb_object != NULL;
33}
34