blob: 5a8f166cb3a6b269a2ea0bbdfff0d3a32b73f650 [file] [log] [blame]
Dimitry Andric9a3a6ab2016-01-11 18:07:47 +00001//===-- CommandObjectLanguage.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 "CommandObjectLanguage.h"
11
12#include "lldb/Host/Host.h"
13
14#include "lldb/Interpreter/CommandInterpreter.h"
15#include "lldb/Interpreter/CommandReturnObject.h"
16
17#include "lldb/Target/Language.h"
18#include "lldb/Target/LanguageRuntime.h"
19
20using namespace lldb;
21using namespace lldb_private;
22
23CommandObjectLanguage::CommandObjectLanguage (CommandInterpreter &interpreter) :
24CommandObjectMultiword (interpreter,
25 "language",
26 "A set of commands for managing language-specific functionality.'.",
27 "language <language-name> <subcommand> [<subcommand-options>]"
28 )
29{
30 //Let the LanguageRuntime populates this command with subcommands
31 LanguageRuntime::InitializeCommands(this);
32}
33
34void
35CommandObjectLanguage::GenerateHelpText (Stream &output_stream) {
36 CommandObjectMultiword::GenerateHelpText(output_stream);
37}
38
39CommandObjectLanguage::~CommandObjectLanguage ()
40{
41}