xref: /freebsd-src/contrib/llvm-project/lldb/source/Commands/CommandObjectLanguage.cpp (revision fe6060f10f634930ff71b7c50291ddc610da2475)
15ffd83dbSDimitry Andric //===-- CommandObjectLanguage.cpp -----------------------------------------===//
20b57cec5SDimitry Andric //
30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric //
70b57cec5SDimitry Andric //===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric 
90b57cec5SDimitry Andric #include "CommandObjectLanguage.h"
100b57cec5SDimitry Andric 
110b57cec5SDimitry Andric 
120b57cec5SDimitry Andric 
130b57cec5SDimitry Andric #include "lldb/Target/LanguageRuntime.h"
140b57cec5SDimitry Andric 
150b57cec5SDimitry Andric using namespace lldb;
160b57cec5SDimitry Andric using namespace lldb_private;
170b57cec5SDimitry Andric 
CommandObjectLanguage(CommandInterpreter & interpreter)180b57cec5SDimitry Andric CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
190b57cec5SDimitry Andric     : CommandObjectMultiword(
200b57cec5SDimitry Andric           interpreter, "language", "Commands specific to a source language.",
210b57cec5SDimitry Andric           "language <language-name> <subcommand> [<subcommand-options>]") {
220b57cec5SDimitry Andric   // Let the LanguageRuntime populates this command with subcommands
230b57cec5SDimitry Andric   LanguageRuntime::InitializeCommands(this);
240b57cec5SDimitry Andric }
250b57cec5SDimitry Andric 
26*fe6060f1SDimitry Andric CommandObjectLanguage::~CommandObjectLanguage() = default;
27