summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBCommandContext.cpp
blob: 3a1b60aa3148cdabbf3a2fa5a0aa1eee941d8049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
}

OpenPOWER on IntegriCloud