llvm-capstone/lldb/source/Commands/CommandObjectLanguage.cpp
Jonas Devlieghere fd2433e139 [lldb] Replace default bodies of special member functions with = default;
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
2021-07-02 11:31:16 -07:00

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;