1c9c55a26SColin Riley //===-- CommandObjectLanguage.cpp -------------------------------*- C++ -*-===//
2c9c55a26SColin Riley //
3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6c9c55a26SColin Riley //
7c9c55a26SColin Riley //===----------------------------------------------------------------------===//
8c9c55a26SColin Riley 
9c9c55a26SColin Riley #include "CommandObjectLanguage.h"
10c9c55a26SColin Riley 
11c9c55a26SColin Riley #include "lldb/Host/Host.h"
12c9c55a26SColin Riley 
13c9c55a26SColin Riley #include "lldb/Interpreter/CommandInterpreter.h"
14c9c55a26SColin Riley #include "lldb/Interpreter/CommandReturnObject.h"
15c9c55a26SColin Riley 
160e0984eeSJim Ingham #include "lldb/Target/Language.h"
17c9c55a26SColin Riley #include "lldb/Target/LanguageRuntime.h"
18c9c55a26SColin Riley 
19c9c55a26SColin Riley using namespace lldb;
20c9c55a26SColin Riley using namespace lldb_private;
21c9c55a26SColin Riley 
227428a18cSKate Stone CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
23b9c1b51eSKate Stone     : CommandObjectMultiword(
24b9c1b51eSKate Stone           interpreter, "language", "Commands specific to a source language.",
25b9c1b51eSKate Stone           "language <language-name> <subcommand> [<subcommand-options>]") {
26c9c55a26SColin Riley   // Let the LanguageRuntime populates this command with subcommands
27c9c55a26SColin Riley   LanguageRuntime::InitializeCommands(this);
28c9c55a26SColin Riley }
29c9c55a26SColin Riley 
30b9c1b51eSKate Stone CommandObjectLanguage::~CommandObjectLanguage() {}
31