[all-commits] [llvm/llvm-project] fd2433: [lldb] Replace default bodies of special member fu...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jul 2 11:31:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd2433e139f78658e059cf911af8ae735fcda57c
      https://github.com/llvm/llvm-project/commit/fd2433e139f78658e059cf911af8ae735fcda57c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M lldb/.clang-tidy
    M lldb/include/lldb/Core/EmulateInstruction.h
    M lldb/include/lldb/Core/Opcode.h
    M lldb/include/lldb/Core/StreamBuffer.h
    M lldb/include/lldb/Core/ThreadSafeValue.h
    M lldb/include/lldb/Core/UserSettingsController.h
    M lldb/include/lldb/DataFormatters/DumpValueObjectOptions.h
    M lldb/include/lldb/DataFormatters/TypeSummary.h
    M lldb/include/lldb/DataFormatters/TypeSynthetic.h
    M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
    M lldb/include/lldb/Expression/Expression.h
    M lldb/include/lldb/Expression/ExpressionParser.h
    M lldb/include/lldb/Expression/ExpressionTypeSystemHelper.h
    M lldb/include/lldb/Expression/Materializer.h
    M lldb/include/lldb/Host/FileCache.h
    M lldb/include/lldb/Host/HostInfoBase.h
    M lldb/include/lldb/Host/HostNativeProcessBase.h
    M lldb/include/lldb/Host/HostNativeThreadBase.h
    M lldb/include/lldb/Host/MainLoopBase.h
    M lldb/include/lldb/Host/ProcessLauncher.h
    M lldb/include/lldb/Host/ProcessRunLock.h
    M lldb/include/lldb/Host/Terminal.h
    M lldb/include/lldb/Host/common/NativeProcessProtocol.h
    M lldb/include/lldb/Host/common/NativeThreadProtocol.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Interpreter/OptionValue.h
    M lldb/include/lldb/Interpreter/Options.h
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Symbol/CompactUnwindInfo.h
    M lldb/include/lldb/Symbol/DeclVendor.h
    M lldb/include/lldb/Symbol/Function.h
    M lldb/include/lldb/Symbol/ObjectFile.h
    M lldb/include/lldb/Symbol/SymbolFile.h
    M lldb/include/lldb/Symbol/TaggedASTType.h
    M lldb/include/lldb/Symbol/Type.h
    M lldb/include/lldb/Target/ExecutionContextScope.h
    M lldb/include/lldb/Target/InstrumentationRuntimeStopInfo.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/RegisterCheckpoint.h
    M lldb/include/lldb/Target/StackFrameRecognizer.h
    M lldb/include/lldb/Target/StopInfo.h
    M lldb/include/lldb/Target/ThreadCollection.h
    M lldb/include/lldb/Target/ThreadPlanStack.h
    M lldb/include/lldb/Target/UnixSignals.h
    M lldb/include/lldb/Target/Unwind.h
    M lldb/include/lldb/Utility/Baton.h
    M lldb/include/lldb/Utility/DataBuffer.h
    M lldb/include/lldb/Utility/Event.h
    M lldb/include/lldb/Utility/ReproducerInstrumentation.h
    M lldb/include/lldb/Utility/StreamTee.h
    M lldb/include/lldb/Utility/TraceGDBRemotePackets.h
    M lldb/include/lldb/Utility/UserID.h
    M lldb/include/lldb/Utility/VMRange.h
    M lldb/include/lldb/lldb-private-types.h
    M lldb/source/Breakpoint/BreakpointList.cpp
    M lldb/source/Breakpoint/BreakpointLocationCollection.cpp
    M lldb/source/Breakpoint/BreakpointResolver.cpp
    M lldb/source/Breakpoint/BreakpointSiteList.cpp
    M lldb/source/Breakpoint/Stoppoint.cpp
    M lldb/source/Breakpoint/WatchpointList.cpp
    M lldb/source/Commands/CommandObjectGUI.cpp
    M lldb/source/Commands/CommandObjectHelp.h
    M lldb/source/Commands/CommandObjectLanguage.cpp
    M lldb/source/Commands/CommandObjectPlatform.cpp
    M lldb/source/Commands/CommandObjectQuit.cpp
    M lldb/source/Commands/CommandObjectRegexCommand.cpp
    M lldb/source/Commands/CommandObjectScript.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Commands/CommandObjectVersion.cpp
    M lldb/source/Core/AddressRange.cpp
    M lldb/source/Core/AddressResolver.cpp
    M lldb/source/Core/AddressResolverFileLine.cpp
    M lldb/source/Core/FileLineResolver.cpp
    M lldb/source/Core/ModuleChild.cpp
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Core/SourceManager.cpp
    M lldb/source/Core/StreamFile.cpp
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/Core/ValueObjectCast.cpp
    M lldb/source/Core/ValueObjectChild.cpp
    M lldb/source/Core/ValueObjectConstResult.cpp
    M lldb/source/Core/ValueObjectConstResultCast.cpp
    M lldb/source/Core/ValueObjectConstResultChild.cpp
    M lldb/source/Core/ValueObjectMemory.cpp
    M lldb/source/Core/ValueObjectRegister.cpp
    M lldb/source/Core/ValueObjectVariable.cpp
    M lldb/source/DataFormatters/TypeFormat.cpp
    M lldb/source/DataFormatters/TypeSummary.cpp
    M lldb/source/DataFormatters/TypeSynthetic.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Expression/ExpressionVariable.cpp
    M lldb/source/Expression/IRExecutionUnit.cpp
    M lldb/source/Expression/IRInterpreter.cpp
    M lldb/source/Expression/UserExpression.cpp
    M lldb/source/Host/common/HostNativeThreadBase.cpp
    M lldb/source/Host/common/HostProcess.cpp
    M lldb/source/Host/common/NativeRegisterContext.cpp
    M lldb/source/Host/common/PseudoTerminal.cpp
    M lldb/source/Host/common/SocketAddress.cpp
    M lldb/source/Host/common/Terminal.cpp
    M lldb/source/Host/common/XML.cpp
    M lldb/source/Host/macosx/cfcpp/CFCBundle.cpp
    M lldb/source/Host/macosx/cfcpp/CFCData.cpp
    M lldb/source/Host/macosx/cfcpp/CFCMutableArray.cpp
    M lldb/source/Host/macosx/cfcpp/CFCMutableDictionary.cpp
    M lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
    M lldb/source/Host/macosx/cfcpp/CFCString.cpp
    M lldb/source/Host/posix/HostProcessPosix.cpp
    M lldb/source/Host/posix/HostThreadPosix.cpp
    M lldb/source/Initialization/SystemInitializer.cpp
    M lldb/source/Initialization/SystemInitializerCommon.cpp
    M lldb/source/Interpreter/OptionGroupFile.cpp
    M lldb/source/Interpreter/OptionValueFileColonLine.cpp
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
    M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
    M lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/HexagonDYLDRendezvous.h
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
    M lldb/source/Plugins/DynamicLoader/Windows-DYLD/DynamicLoaderWindowsDYLD.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ASTStructExtractor.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionHelper.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.h
    M lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h
    M lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
    M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
    M lldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptExpressionOpts.cpp
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
    M lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
    M lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
    M lldb/source/Plugins/ObjectContainer/Universal-Mach-O/ObjectContainerUniversalMachO.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
    M lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
    M lldb/source/Plugins/Platform/Android/AdbClient.cpp
    M lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
    M lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
    M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_arm64.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_i386.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/RegisterContextKDP_x86_64.cpp
    M lldb/source/Plugins/Process/Utility/HistoryUnwind.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_i386.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextDarwin_x86_64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextMach_arm.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextMach_i386.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextMach_x86_64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextMemory.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_powerpc.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_s390x.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
    M lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp
    M lldb/source/Plugins/Process/Utility/RegisterInfoInterface.h
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_mips64.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_powerpc.cpp
    M lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_s390x.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
    M lldb/source/Plugins/Process/minidump/ThreadMinidump.cpp
    M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
    M lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
    M lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
    M lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
    M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
    M lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
    M lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
    M lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
    M lldb/source/Symbol/ArmUnwindInfo.cpp
    M lldb/source/Symbol/Block.cpp
    M lldb/source/Symbol/CompactUnwindInfo.cpp
    M lldb/source/Symbol/FuncUnwinders.cpp
    M lldb/source/Symbol/Function.cpp
    M lldb/source/Symbol/LineTable.cpp
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/source/Symbol/Symtab.cpp
    M lldb/source/Symbol/TypeList.cpp
    M lldb/source/Symbol/TypeMap.cpp
    M lldb/source/Symbol/TypeSystem.cpp
    M lldb/source/Symbol/UnwindTable.cpp
    M lldb/source/Symbol/Variable.cpp
    M lldb/source/Symbol/VariableList.cpp
    M lldb/source/Target/JITLoaderList.cpp
    M lldb/source/Target/Language.cpp
    M lldb/source/Target/Memory.cpp
    M lldb/source/Target/QueueItem.cpp
    M lldb/source/Target/StructuredDataPlugin.cpp
    M lldb/source/Target/ThreadPlanBase.cpp
    M lldb/source/Target/ThreadPlanCallUserExpression.cpp
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
    M lldb/source/Utility/ArchSpec.cpp
    M lldb/source/Utility/Args.cpp
    M lldb/source/Utility/DataBufferLLVM.cpp
    M lldb/source/Utility/Event.cpp
    M lldb/source/Utility/GDBRemote.cpp
    M lldb/source/Utility/Stream.cpp
    M lldb/source/Utility/StreamString.cpp
    M lldb/source/Utility/StringExtractor.cpp
    M lldb/source/Utility/StringList.cpp
    M lldb/source/Utility/TildeExpressionResolver.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list