aboutsummaryrefslogtreecommitdiff
path: root/source/API/SBCommandContext.cpp
blob: 35bd6bb7c8440cb67799e06a10cd77bf0e169b0d (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/Core/Debugger.h"
#include "lldb/Interpreter/CommandReturnObject.h"

#include "lldb/API/SBCommandContext.h"


using namespace lldb;
using namespace lldb_private;


SBCommandContext::SBCommandContext (Debugger *lldb_object) :
    m_opaque (lldb_object)
{
}

SBCommandContext::~SBCommandContext ()
{
}

bool
SBCommandContext::IsValid () const
{
    return m_opaque != NULL;
}