]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Commands/CommandObjectLanguage.cpp
MFV r322240: 8491 uberblock on-disk padding to reserve space for smoothly merging...
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Commands / CommandObjectLanguage.cpp
1 //===-- CommandObjectLanguage.cpp -------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "CommandObjectLanguage.h"
11
12 #include "lldb/Host/Host.h"
13
14 #include "lldb/Interpreter/CommandInterpreter.h"
15 #include "lldb/Interpreter/CommandReturnObject.h"
16
17 #include "lldb/Target/Language.h"
18 #include "lldb/Target/LanguageRuntime.h"
19
20 using namespace lldb;
21 using namespace lldb_private;
22
23 CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
24     : CommandObjectMultiword(
25           interpreter, "language", "Commands specific to a source language.",
26           "language <language-name> <subcommand> [<subcommand-options>]") {
27   // Let the LanguageRuntime populates this command with subcommands
28   LanguageRuntime::InitializeCommands(this);
29 }
30
31 CommandObjectLanguage::~CommandObjectLanguage() {}