Coverage Report

Created: 2023-11-11 10:31

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Commands/CommandObjectLanguage.cpp
Line
Count
Source
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
//===----------------------------------------------------------------------===//
8
9
#include "CommandObjectLanguage.h"
10
11
12
13
#include "lldb/Target/LanguageRuntime.h"
14
15
using namespace lldb;
16
using namespace lldb_private;
17
18
CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
19
6.14k
    : CommandObjectMultiword(
20
6.14k
          interpreter, "language", "Commands specific to a source language.",
21
6.14k
          "language <language-name> <subcommand> [<subcommand-options>]") {
22
  // Let the LanguageRuntime populates this command with subcommands
23
6.14k
  LanguageRuntime::InitializeCommands(this);
24
6.14k
}
25
26
6.13k
CommandObjectLanguage::~CommandObjectLanguage() = default;