[all-commits] [llvm/llvm-project] 28c878: [LLDB] Applying clang-tidy modernize-use-default-m...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Mon Mar 14 13:33:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28c878aeb29a7e7a9ae8f748de6a3c41482b97be
      https://github.com/llvm/llvm-project/commit/28c878aeb29a7e7a9ae8f748de6a3c41482b97be
  Author: Shafik Yaghmour <syaghmour at apple.com>
  Date:   2022-03-14 (Mon, 14 Mar 2022)

  Changed paths:
    M lldb/source/API/SBBroadcaster.cpp
    M lldb/source/API/SBListener.cpp
    M lldb/source/API/SBPlatform.cpp
    M lldb/source/API/SBQueue.cpp
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/source/Commands/CommandObjectMemoryTag.cpp
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Core/Address.cpp
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Core/IOHandlerCursesGUI.cpp
    M lldb/source/Core/Module.cpp
    M lldb/source/Core/ModuleList.cpp
    M lldb/source/Core/Value.cpp
    M lldb/source/Core/ValueObject.cpp
    M lldb/source/DataFormatters/VectorType.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Expression/IRInterpreter.cpp
    M lldb/source/Expression/Materializer.cpp
    M lldb/source/Host/common/HostNativeThreadBase.cpp
    M lldb/source/Host/common/ProcessLaunchInfo.cpp
    M lldb/source/Interpreter/OptionValueFileColonLine.cpp
    M lldb/source/Interpreter/OptionValueFileSpec.cpp
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionSourceCode.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp
    M lldb/source/Plugins/Language/ObjC/NSArray.cpp
    M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
    M lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp
    M lldb/source/Plugins/Language/ObjC/NSSet.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/PECallFrameInfo.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFAbbreviationDeclaration.cpp
    M lldb/source/Symbol/Symbol.cpp
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/source/Symbol/Type.cpp
    M lldb/source/Target/ExecutionContext.cpp
    M lldb/source/Target/LanguageRuntime.cpp
    M lldb/source/Target/PathMappingList.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Utility/DataExtractor.cpp
    M lldb/source/Utility/Instrumentation.cpp
    M lldb/source/Utility/ProcessInfo.cpp
    M lldb/source/Utility/Status.cpp
    M lldb/source/Utility/Stream.cpp
    M lldb/source/Utility/StringExtractor.cpp
    M lldb/unittests/Editline/EditlineTest.cpp
    M lldb/unittests/Host/FileSystemTest.cpp
    M lldb/unittests/Process/ProcessEventDataTest.cpp

  Log Message:
  -----------
  [LLDB] Applying clang-tidy modernize-use-default-member-init over LLDB

Applied modernize-use-default-member-init clang-tidy check over LLDB.
It appears in many files we had already switched to in class member init but
never updated the constructors to reflect that. This check is already present in
the lldb/.clang-tidy config.

Differential Revision: https://reviews.llvm.org/D121481




More information about the All-commits mailing list