xref: /openbsd-src/gnu/llvm/lldb/source/Commands/CommandObjectLanguage.cpp (revision be691f3bb6417f04a68938fadbcaee2d5795e764)
1dda28197Spatrick //===-- CommandObjectLanguage.cpp -----------------------------------------===//
2061da546Spatrick //
3061da546Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4061da546Spatrick // See https://llvm.org/LICENSE.txt for license information.
5061da546Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6061da546Spatrick //
7061da546Spatrick //===----------------------------------------------------------------------===//
8061da546Spatrick 
9061da546Spatrick #include "CommandObjectLanguage.h"
10061da546Spatrick 
11061da546Spatrick 
12061da546Spatrick 
13061da546Spatrick #include "lldb/Target/LanguageRuntime.h"
14061da546Spatrick 
15061da546Spatrick using namespace lldb;
16061da546Spatrick using namespace lldb_private;
17061da546Spatrick 
CommandObjectLanguage(CommandInterpreter & interpreter)18061da546Spatrick CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
19061da546Spatrick     : CommandObjectMultiword(
20061da546Spatrick           interpreter, "language", "Commands specific to a source language.",
21061da546Spatrick           "language <language-name> <subcommand> [<subcommand-options>]") {
22061da546Spatrick   // Let the LanguageRuntime populates this command with subcommands
23061da546Spatrick   LanguageRuntime::InitializeCommands(this);
24061da546Spatrick }
25061da546Spatrick 
26*be691f3bSpatrick CommandObjectLanguage::~CommandObjectLanguage() = default;
27