1*0b57cec5SDimitry Andric //===-- CommandObjectLanguage.cpp -----------------------------------------===//
2*0b57cec5SDimitry Andric //
3*0b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*0b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*0b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*0b57cec5SDimitry Andric //
7*0b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
8*0b57cec5SDimitry Andric 
9*0b57cec5SDimitry Andric #include "CommandObjectLanguage.h"
10*0b57cec5SDimitry Andric 
11*0b57cec5SDimitry Andric 
12*0b57cec5SDimitry Andric 
13*0b57cec5SDimitry Andric #include "lldb/Target/LanguageRuntime.h"
14*0b57cec5SDimitry Andric 
15*0b57cec5SDimitry Andric using namespace lldb;
16*0b57cec5SDimitry Andric using namespace lldb_private;
17*0b57cec5SDimitry Andric 
CommandObjectLanguage(CommandInterpreter & interpreter)18*0b57cec5SDimitry Andric CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
19*0b57cec5SDimitry Andric     : CommandObjectMultiword(
20*0b57cec5SDimitry Andric           interpreter, "language", "Commands specific to a source language.",
21*0b57cec5SDimitry Andric           "language <language-name> <subcommand> [<subcommand-options>]") {
22*0b57cec5SDimitry Andric   // Let the LanguageRuntime populates this command with subcommands
23*0b57cec5SDimitry Andric   LanguageRuntime::InitializeCommands(this);
24*0b57cec5SDimitry Andric }
25*0b57cec5SDimitry Andric 
26*0b57cec5SDimitry Andric CommandObjectLanguage::~CommandObjectLanguage() = default;
27*0b57cec5SDimitry Andric