[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / source / Commands / CommandObjectLanguage.cpp
blob925db599e4abbe55be75ad27250aa84a480d64c6
1 //===-- CommandObjectLanguage.cpp -----------------------------------------===//
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 //===----------------------------------------------------------------------===//
9 #include "CommandObjectLanguage.h"
13 #include "lldb/Target/LanguageRuntime.h"
15 using namespace lldb;
16 using namespace lldb_private;
18 CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
19 : CommandObjectMultiword(
20 interpreter, "language", "Commands specific to a source language.",
21 "language <language-name> <subcommand> [<subcommand-options>]") {
22 // Let the LanguageRuntime populates this command with subcommands
23 LanguageRuntime::InitializeCommands(this);
26 CommandObjectLanguage::~CommandObjectLanguage() = default;