180814287SRaphael Isemann //===-- CommandObjectLanguage.cpp -----------------------------------------===// 2c9c55a26SColin Riley // 32946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 52946cd70SChandler 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 12c9c55a26SColin Riley 13c9c55a26SColin Riley #include "lldb/Target/LanguageRuntime.h" 14c9c55a26SColin Riley 15c9c55a26SColin Riley using namespace lldb; 16c9c55a26SColin Riley using namespace lldb_private; 17c9c55a26SColin Riley CommandObjectLanguage(CommandInterpreter & interpreter)187428a18cSKate StoneCommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter) 19b9c1b51eSKate Stone : CommandObjectMultiword( 20b9c1b51eSKate Stone interpreter, "language", "Commands specific to a source language.", 21b9c1b51eSKate Stone "language <language-name> <subcommand> [<subcommand-options>]") { 22c9c55a26SColin Riley // Let the LanguageRuntime populates this command with subcommands 23c9c55a26SColin Riley LanguageRuntime::InitializeCommands(this); 24c9c55a26SColin Riley } 25c9c55a26SColin Riley 26*fd2433e1SJonas Devlieghere CommandObjectLanguage::~CommandObjectLanguage() = default; 27