11c3bbb01SEd Maste //===-- CommandObjectLanguage.cpp -------------------------------*- C++ -*-===//
21c3bbb01SEd Maste //
31c3bbb01SEd Maste //                     The LLVM Compiler Infrastructure
41c3bbb01SEd Maste //
51c3bbb01SEd Maste // This file is distributed under the University of Illinois Open Source
61c3bbb01SEd Maste // License. See LICENSE.TXT for details.
71c3bbb01SEd Maste //
81c3bbb01SEd Maste //===----------------------------------------------------------------------===//
91c3bbb01SEd Maste 
101c3bbb01SEd Maste #include "CommandObjectLanguage.h"
111c3bbb01SEd Maste 
121c3bbb01SEd Maste #include "lldb/Host/Host.h"
131c3bbb01SEd Maste 
141c3bbb01SEd Maste #include "lldb/Interpreter/CommandInterpreter.h"
151c3bbb01SEd Maste #include "lldb/Interpreter/CommandReturnObject.h"
161c3bbb01SEd Maste 
179f2f44ceSEd Maste #include "lldb/Target/Language.h"
181c3bbb01SEd Maste #include "lldb/Target/LanguageRuntime.h"
191c3bbb01SEd Maste 
201c3bbb01SEd Maste using namespace lldb;
211c3bbb01SEd Maste using namespace lldb_private;
221c3bbb01SEd Maste 
CommandObjectLanguage(CommandInterpreter & interpreter)234bb0738eSEd Maste CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
24*435933ddSDimitry Andric     : CommandObjectMultiword(
25*435933ddSDimitry Andric           interpreter, "language", "Commands specific to a source language.",
26*435933ddSDimitry Andric           "language <language-name> <subcommand> [<subcommand-options>]") {
271c3bbb01SEd Maste   // Let the LanguageRuntime populates this command with subcommands
281c3bbb01SEd Maste   LanguageRuntime::InitializeCommands(this);
291c3bbb01SEd Maste }
301c3bbb01SEd Maste 
~CommandObjectLanguage()31*435933ddSDimitry Andric CommandObjectLanguage::~CommandObjectLanguage() {}
32