blob: 3a1b60aa3148cdabbf3a2fa5a0aa1eee941d8049 [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
13#include "SBCommandContext.h"
14
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