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