1c9c55a26SColin Riley //===-- CommandObjectLanguage.cpp -------------------------------*- C++ -*-===//
2c9c55a26SColin Riley //
3c9c55a26SColin Riley //                     The LLVM Compiler Infrastructure
4c9c55a26SColin Riley //
5c9c55a26SColin Riley // This file is distributed under the University of Illinois Open Source
6c9c55a26SColin Riley // License. See LICENSE.TXT for details.
7c9c55a26SColin Riley //
8c9c55a26SColin Riley //===----------------------------------------------------------------------===//
9c9c55a26SColin Riley 
10c9c55a26SColin Riley #include "CommandObjectLanguage.h"
11c9c55a26SColin Riley 
12c9c55a26SColin Riley #include "lldb/Host/Host.h"
13c9c55a26SColin Riley 
14c9c55a26SColin Riley #include "lldb/Interpreter/CommandInterpreter.h"
15c9c55a26SColin Riley #include "lldb/Interpreter/CommandReturnObject.h"
16c9c55a26SColin Riley 
170e0984eeSJim Ingham #include "lldb/Target/Language.h"
18c9c55a26SColin Riley #include "lldb/Target/LanguageRuntime.h"
19c9c55a26SColin Riley 
20c9c55a26SColin Riley using namespace lldb;
21c9c55a26SColin Riley using namespace lldb_private;
22c9c55a26SColin Riley 
23*7428a18cSKate Stone CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
24*7428a18cSKate Stone     : CommandObjectMultiword(interpreter, "language", "Commands specific to a source language.",
25*7428a18cSKate Stone                              "language <language-name> <subcommand> [<subcommand-options>]")
26c9c55a26SColin Riley {
27c9c55a26SColin Riley     //Let the LanguageRuntime populates this command with subcommands
28c9c55a26SColin Riley     LanguageRuntime::InitializeCommands(this);
29c9c55a26SColin Riley }
30c9c55a26SColin Riley 
31c9c55a26SColin Riley CommandObjectLanguage::~CommandObjectLanguage ()
32c9c55a26SColin Riley {
33c9c55a26SColin Riley }
34