mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-13 17:37:00 +00:00

Replace default bodies of special member functions with = default; $ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-equals-default' -fix , https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-equals-default.html Differential revision: https://reviews.llvm.org/D104041
27 lines
941 B
C++
27 lines
941 B
C++
//===-- CommandObjectLanguage.cpp -----------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "CommandObjectLanguage.h"
|
|
|
|
|
|
|
|
#include "lldb/Target/LanguageRuntime.h"
|
|
|
|
using namespace lldb;
|
|
using namespace lldb_private;
|
|
|
|
CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
|
|
: CommandObjectMultiword(
|
|
interpreter, "language", "Commands specific to a source language.",
|
|
"language <language-name> <subcommand> [<subcommand-options>]") {
|
|
// Let the LanguageRuntime populates this command with subcommands
|
|
LanguageRuntime::InitializeCommands(this);
|
|
}
|
|
|
|
CommandObjectLanguage::~CommandObjectLanguage() = default;
|