[all-commits] [llvm/llvm-project] 9494c5: [lldb] Use C++11 default member initializers

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jun 9 09:43:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9494c510af56d9c8593ab69017dcaa232210b235
      https://github.com/llvm/llvm-project/commit/9494c510af56d9c8593ab69017dcaa232210b235
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M lldb/.clang-tidy
    M lldb/include/lldb/API/SBBlock.h
    M lldb/include/lldb/API/SBBroadcaster.h
    M lldb/include/lldb/API/SBCommunication.h
    M lldb/include/lldb/API/SBCompileUnit.h
    M lldb/include/lldb/API/SBEvent.h
    M lldb/include/lldb/API/SBFunction.h
    M lldb/include/lldb/API/SBListener.h
    M lldb/include/lldb/API/SBStream.h
    M lldb/include/lldb/API/SBSymbol.h
    M lldb/include/lldb/Breakpoint/BreakpointOptions.h
    M lldb/include/lldb/Breakpoint/Stoppoint.h
    M lldb/include/lldb/Breakpoint/StoppointCallbackContext.h
    M lldb/include/lldb/Breakpoint/WatchpointList.h
    M lldb/include/lldb/Breakpoint/WatchpointOptions.h
    M lldb/include/lldb/Core/Address.h
    M lldb/include/lldb/Core/AddressRange.h
    M lldb/include/lldb/Core/Declaration.h
    M lldb/include/lldb/Core/Disassembler.h
    M lldb/include/lldb/Core/EmulateInstruction.h
    M lldb/include/lldb/Core/FileLineResolver.h
    M lldb/include/lldb/Core/FormatEntity.h
    M lldb/include/lldb/Core/LoadedModuleInfoList.h
    M lldb/include/lldb/Core/MappedHash.h
    M lldb/include/lldb/Core/Module.h
    M lldb/include/lldb/Core/ModuleList.h
    M lldb/include/lldb/Core/ModuleSpec.h
    M lldb/include/lldb/Core/Opcode.h
    M lldb/include/lldb/Core/RichManglingContext.h
    M lldb/include/lldb/Core/Value.h
    M lldb/include/lldb/Core/ValueObject.h
    M lldb/include/lldb/DataFormatters/DumpValueObjectOptions.h
    M lldb/include/lldb/DataFormatters/FormatClasses.h
    M lldb/include/lldb/DataFormatters/TypeFormat.h
    M lldb/include/lldb/DataFormatters/TypeSummary.h
    M lldb/include/lldb/DataFormatters/TypeSynthetic.h
    M lldb/include/lldb/Expression/DWARFExpression.h
    M lldb/include/lldb/Expression/Materializer.h
    M lldb/include/lldb/Host/File.h
    M lldb/include/lldb/Host/FileAction.h
    M lldb/include/lldb/Host/FileSystem.h
    M lldb/include/lldb/Host/HostNativeThreadBase.h
    M lldb/include/lldb/Host/ProcessLaunchInfo.h
    M lldb/include/lldb/Host/ProcessRunLock.h
    M lldb/include/lldb/Host/PseudoTerminal.h
    M lldb/include/lldb/Host/Terminal.h
    M lldb/include/lldb/Host/XML.h
    M lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
    M lldb/include/lldb/Initialization/SystemLifetimeManager.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/Interpreter/OptionValue.h
    M lldb/include/lldb/Interpreter/OptionValueFileColonLine.h
    M lldb/include/lldb/Interpreter/OptionValueFileSpec.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/LineEntry.h
    M lldb/include/lldb/Symbol/LineTable.h
    M lldb/include/lldb/Symbol/Symbol.h
    M lldb/include/lldb/Symbol/SymbolContext.h
    M lldb/include/lldb/Symbol/Type.h
    M lldb/include/lldb/Symbol/TypeSystem.h
    M lldb/include/lldb/Symbol/UnwindPlan.h
    M lldb/include/lldb/Target/ExecutionContext.h
    M lldb/include/lldb/Target/PathMappingList.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/RegisterNumber.h
    M lldb/include/lldb/Target/StackID.h
    M lldb/include/lldb/Target/ThreadSpec.h
    M lldb/include/lldb/Target/UnwindLLDB.h
    M lldb/include/lldb/Utility/DataEncoder.h
    M lldb/include/lldb/Utility/DataExtractor.h
    M lldb/include/lldb/Utility/GDBRemote.h
    M lldb/include/lldb/Utility/ProcessInfo.h
    M lldb/include/lldb/Utility/RegisterValue.h
    M lldb/include/lldb/Utility/ReproducerInstrumentation.h
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/include/lldb/Utility/Status.h
    M lldb/include/lldb/Utility/Stream.h
    M lldb/include/lldb/Utility/StringExtractor.h
    M lldb/include/lldb/Utility/StringExtractorGDBRemote.h
    M lldb/include/lldb/Utility/VMRange.h
    M lldb/source/API/SBBlock.cpp
    M lldb/source/API/SBBroadcaster.cpp
    M lldb/source/API/SBCommandReturnObject.cpp
    M lldb/source/API/SBCommunication.cpp
    M lldb/source/API/SBCompileUnit.cpp
    M lldb/source/API/SBEvent.cpp
    M lldb/source/API/SBFunction.cpp
    M lldb/source/API/SBListener.cpp
    M lldb/source/API/SBPlatform.cpp
    M lldb/source/API/SBQueue.cpp
    M lldb/source/API/SBStream.cpp
    M lldb/source/API/SBSymbol.cpp
    M lldb/source/API/SBVariablesOptions.cpp
    M lldb/source/Breakpoint/Stoppoint.cpp
    M lldb/source/Breakpoint/StoppointCallbackContext.cpp
    M lldb/source/Breakpoint/WatchpointList.cpp
    M lldb/source/Breakpoint/WatchpointOptions.cpp
    M lldb/source/Commands/CommandObjectBreakpoint.cpp
    M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Commands/CommandObjectDisassemble.cpp
    M lldb/source/Commands/CommandObjectDisassemble.h
    M lldb/source/Commands/CommandObjectLog.cpp
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Commands/CommandObjectPlatform.cpp
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Commands/CommandObjectSettings.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/CommandObjectType.cpp
    M lldb/source/Commands/CommandObjectWatchpoint.cpp
    M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
    M lldb/source/Core/AddressRange.cpp
    M lldb/source/Core/IOHandlerCursesGUI.cpp
    M lldb/source/Core/Module.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Core/Value.cpp
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/DataFormatters/TypeFormat.cpp
    M lldb/source/DataFormatters/TypeSummary.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Host/common/FileAction.cpp
    M lldb/source/Host/common/Host.cpp
    M lldb/source/Host/common/HostNativeThreadBase.cpp
    M lldb/source/Host/common/ProcessLaunchInfo.cpp
    M lldb/source/Host/common/ProcessRunLock.cpp
    M lldb/source/Host/common/PseudoTerminal.cpp
    M lldb/source/Host/common/Terminal.cpp
    M lldb/source/Host/common/XML.cpp
    M lldb/source/Host/macosx/objcxx/HostThreadMacOSX.mm
    M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp
    M lldb/source/Initialization/SystemLifetimeManager.cpp
    M lldb/source/Interpreter/OptionValueFileColonLine.cpp
    M lldb/source/Interpreter/OptionValueFileSpec.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.h
    M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DYLDRendezvous.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTImporter.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
    M lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.h
    M lldb/source/Plugins/Instruction/ARM/EmulationStateARM.cpp
    M lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
    M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.h
    M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
    M lldb/source/Plugins/Language/ObjC/ObjCLanguage.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h
    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/AppleObjCRuntimeV2.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
    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/BSD-Archive/ObjectContainerBSDArchive.h
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
    M lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.h
    M lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
    M lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h
    M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.h
    M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.h
    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/LineEntry.cpp
    M lldb/source/Symbol/Symbol.cpp
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/source/Symbol/Type.cpp
    M lldb/source/Symbol/TypeSystem.cpp
    M lldb/source/Symbol/UnwindPlan.cpp
    M lldb/source/Target/ExecutionContext.cpp
    M lldb/source/Target/PathMappingList.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/RegisterNumber.cpp
    M lldb/source/Target/ThreadSpec.cpp
    M lldb/source/Utility/DataEncoder.cpp
    M lldb/source/Utility/DataExtractor.cpp
    M lldb/source/Utility/ProcessInfo.cpp
    M lldb/source/Utility/ReproducerInstrumentation.cpp
    M lldb/source/Utility/Status.cpp
    M lldb/source/Utility/Stream.cpp
    M lldb/source/Utility/StringExtractor.cpp

  Log Message:
  -----------
  [lldb] Use C++11 default member initializers

This converts a default constructor's member initializers into C++11
default member initializers. This patch was automatically generated with
clang-tidy and the modernize-use-default-member-init check.

$ run-clang-tidy.py -header-filter='lldb' -checks='-*,modernize-use-default-member-init' -fix

This is a mass-refactoring patch and this commit will be added to
.git-blame-ignore-revs.

Differential revision: https://reviews.llvm.org/D103483




More information about the All-commits mailing list