xref: /src/contrib/llvm-project/lldb/source/Commands/CommandObjectLanguage.cpp (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1cfca06d7SDimitry Andric //===-- CommandObjectLanguage.cpp -----------------------------------------===//
25e95aa85SEd Maste //
35f29bb8aSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
45f29bb8aSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
55f29bb8aSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
65e95aa85SEd Maste //
75e95aa85SEd Maste //===----------------------------------------------------------------------===//
85e95aa85SEd Maste 
95e95aa85SEd Maste #include "CommandObjectLanguage.h"
105e95aa85SEd Maste 
115e95aa85SEd Maste 
125e95aa85SEd Maste 
135e95aa85SEd Maste #include "lldb/Target/LanguageRuntime.h"
145e95aa85SEd Maste 
155e95aa85SEd Maste using namespace lldb;
165e95aa85SEd Maste using namespace lldb_private;
175e95aa85SEd Maste 
CommandObjectLanguage(CommandInterpreter & interpreter)18f3fbd1c0SDimitry Andric CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
1914f1b3e8SDimitry Andric     : CommandObjectMultiword(
2014f1b3e8SDimitry Andric           interpreter, "language", "Commands specific to a source language.",
2114f1b3e8SDimitry Andric           "language <language-name> <subcommand> [<subcommand-options>]") {
225e95aa85SEd Maste   // Let the LanguageRuntime populates this command with subcommands
235e95aa85SEd Maste   LanguageRuntime::InitializeCommands(this);
245e95aa85SEd Maste }
255e95aa85SEd Maste 
26344a3780SDimitry Andric CommandObjectLanguage::~CommandObjectLanguage() = default;
27