[Lldb-commits] [PATCH] D80543: [lldb] Manual remove of DISALLOW_COPY_AND_ASSIGN def and one expansion
Konrad Wilhelm Kleine via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue May 26 02:39:39 PDT 2020
kwk created this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
kwk abandoned this revision.
kwk added a comment.
kwk updated this revision to Diff 266136.
Herald added subscribers: usaxena95, arphaman, MaskRay, aheejin, sbc100, emaste.
Herald added a reviewer: espindola.
kwk edited the summary of this revision.
Sorry, wrong revisions uploaded
kwk added a comment.
[lldb] Manual remove of DISALLOW_COPY_AND_ASSIGN def and one expansion
[lldb] NFC expand DISALLOW_COPY_AND_ASSIGN
This is how I applied my clang-tidy check (see
https://reviews.llvm.org/D80531) in order to remove
`DISALLOW_COPY_AND_ASSIGN` and have deleted copy ctors and deleted
assignment operators instead.
grep DISALLOW_COPY_AND_ASSIGN /opt/notnfs/kkleine/llvm/lldb -r -l | sort | uniq > files
for i in $(cat files);
do
clang-tidy \
--checks="-*,modernize-replace-disallow-copy-and-assign-macro" \
--format-style=LLVM \
--header-filter=.* \
--fix \
-fix-errors \
$i;
done
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80543
Files:
lldb/examples/interposing/darwin/fd_interposing/FDInterposing.cpp
lldb/include/lldb/API/SBCommunication.h
lldb/include/lldb/API/SBStream.h
lldb/include/lldb/Breakpoint/Breakpoint.h
lldb/include/lldb/Breakpoint/BreakpointIDList.h
lldb/include/lldb/Breakpoint/BreakpointList.h
lldb/include/lldb/Breakpoint/BreakpointLocation.h
lldb/include/lldb/Breakpoint/BreakpointResolver.h
lldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
lldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
lldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h
lldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
lldb/include/lldb/Breakpoint/BreakpointSite.h
lldb/include/lldb/Breakpoint/Stoppoint.h
lldb/include/lldb/Breakpoint/StoppointLocation.h
lldb/include/lldb/Breakpoint/Watchpoint.h
lldb/include/lldb/Core/AddressResolver.h
lldb/include/lldb/Core/AddressResolverFileLine.h
lldb/include/lldb/Core/AddressResolverName.h
lldb/include/lldb/Core/Communication.h
lldb/include/lldb/Core/Debugger.h
lldb/include/lldb/Core/Disassembler.h
lldb/include/lldb/Core/EmulateInstruction.h
lldb/include/lldb/Core/FileLineResolver.h
lldb/include/lldb/Core/Highlighter.h
lldb/include/lldb/Core/IOHandler.h
lldb/include/lldb/Core/Module.h
lldb/include/lldb/Core/Section.h
lldb/include/lldb/Core/SourceManager.h
lldb/include/lldb/Core/StreamFile.h
lldb/include/lldb/Core/ThreadSafeValue.h
lldb/include/lldb/Core/ValueObject.h
lldb/include/lldb/Core/ValueObjectCast.h
lldb/include/lldb/Core/ValueObjectChild.h
lldb/include/lldb/Core/ValueObjectConstResult.h
lldb/include/lldb/Core/ValueObjectConstResultCast.h
lldb/include/lldb/Core/ValueObjectConstResultChild.h
lldb/include/lldb/Core/ValueObjectConstResultImpl.h
lldb/include/lldb/Core/ValueObjectDynamicValue.h
lldb/include/lldb/Core/ValueObjectMemory.h
lldb/include/lldb/Core/ValueObjectRegister.h
lldb/include/lldb/Core/ValueObjectSyntheticFilter.h
lldb/include/lldb/Core/ValueObjectVariable.h
lldb/include/lldb/DataFormatters/FormatClasses.h
lldb/include/lldb/DataFormatters/FormattersContainer.h
lldb/include/lldb/DataFormatters/TypeFormat.h
lldb/include/lldb/DataFormatters/TypeSummary.h
lldb/include/lldb/DataFormatters/TypeSynthetic.h
lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
lldb/include/lldb/Expression/IRMemoryMap.h
lldb/include/lldb/Host/File.h
lldb/include/lldb/Host/HostNativeProcessBase.h
lldb/include/lldb/Host/HostNativeThreadBase.h
lldb/include/lldb/Host/MainLoop.h
lldb/include/lldb/Host/MainLoopBase.h
lldb/include/lldb/Host/ProcessRunLock.h
lldb/include/lldb/Host/PseudoTerminal.h
lldb/include/lldb/Host/common/NativeRegisterContext.h
lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h
lldb/include/lldb/Host/posix/HostThreadPosix.h
lldb/include/lldb/Host/windows/ConnectionGenericFileWindows.h
lldb/include/lldb/Host/windows/HostThreadWindows.h
lldb/include/lldb/Interpreter/CommandHistory.h
lldb/include/lldb/Interpreter/CommandObjectRegexCommand.h
lldb/include/lldb/Interpreter/OptionGroupVariable.h
lldb/include/lldb/Interpreter/OptionGroupWatchpoint.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Symbol/Block.h
lldb/include/lldb/Symbol/CompileUnit.h
lldb/include/lldb/Symbol/DebugMacros.h
lldb/include/lldb/Symbol/DeclVendor.h
lldb/include/lldb/Symbol/FuncUnwinders.h
lldb/include/lldb/Symbol/Function.h
lldb/include/lldb/Symbol/LineTable.h
lldb/include/lldb/Symbol/ObjectContainer.h
lldb/include/lldb/Symbol/ObjectFile.h
lldb/include/lldb/Symbol/SymbolFile.h
lldb/include/lldb/Symbol/SymbolVendor.h
lldb/include/lldb/Symbol/Symtab.h
lldb/include/lldb/Symbol/TypeList.h
lldb/include/lldb/Symbol/TypeMap.h
lldb/include/lldb/Symbol/UnwindTable.h
lldb/include/lldb/Symbol/VariableList.h
lldb/include/lldb/Target/ABI.h
lldb/include/lldb/Target/DynamicLoader.h
lldb/include/lldb/Target/Language.h
lldb/include/lldb/Target/LanguageRuntime.h
lldb/include/lldb/Target/Memory.h
lldb/include/lldb/Target/OperatingSystem.h
lldb/include/lldb/Target/Platform.h
lldb/include/lldb/Target/Process.h
lldb/include/lldb/Target/Queue.h
lldb/include/lldb/Target/QueueItem.h
lldb/include/lldb/Target/RegisterCheckpoint.h
lldb/include/lldb/Target/RegisterContext.h
lldb/include/lldb/Target/RegisterContextUnwind.h
lldb/include/lldb/Target/SectionLoadHistory.h
lldb/include/lldb/Target/StackFrame.h
lldb/include/lldb/Target/StackFrameList.h
lldb/include/lldb/Target/StackFrameRecognizer.h
lldb/include/lldb/Target/StopInfo.h
lldb/include/lldb/Target/StructuredDataPlugin.h
lldb/include/lldb/Target/SystemRuntime.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/Target/TargetList.h
lldb/include/lldb/Target/Thread.h
lldb/include/lldb/Target/ThreadPlan.h
lldb/include/lldb/Target/ThreadPlanBase.h
lldb/include/lldb/Target/ThreadPlanCallFunction.h
lldb/include/lldb/Target/ThreadPlanCallFunctionUsingABI.h
lldb/include/lldb/Target/ThreadPlanCallUserExpression.h
lldb/include/lldb/Target/ThreadPlanPython.h
lldb/include/lldb/Target/ThreadPlanRunToAddress.h
lldb/include/lldb/Target/ThreadPlanShouldStopHere.h
lldb/include/lldb/Target/ThreadPlanStepInRange.h
lldb/include/lldb/Target/ThreadPlanStepInstruction.h
lldb/include/lldb/Target/ThreadPlanStepOut.h
lldb/include/lldb/Target/ThreadPlanStepOverBreakpoint.h
lldb/include/lldb/Target/ThreadPlanStepOverRange.h
lldb/include/lldb/Target/ThreadPlanStepRange.h
lldb/include/lldb/Target/ThreadPlanStepThrough.h
lldb/include/lldb/Target/ThreadPlanStepUntil.h
lldb/include/lldb/Target/Unwind.h
lldb/include/lldb/Target/UnwindAssembly.h
lldb/include/lldb/Target/UnwindLLDB.h
lldb/include/lldb/Utility/Broadcaster.h
lldb/include/lldb/Utility/Connection.h
lldb/include/lldb/Utility/DataEncoder.h
lldb/include/lldb/Utility/Event.h
lldb/include/lldb/Utility/IOObject.h
lldb/include/lldb/Utility/Listener.h
lldb/include/lldb/Utility/Predicate.h
lldb/include/lldb/Utility/Timer.h
lldb/include/lldb/lldb-defines.h
lldb/source/Commands/CommandCompletions.cpp
lldb/source/Commands/CommandObjectLog.h
lldb/source/Commands/CommandObjectPlatform.cpp
lldb/source/Commands/CommandObjectPlatform.h
lldb/source/Commands/CommandObjectRegister.h
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Core/IOHandlerCursesGUI.cpp
lldb/source/Host/macosx/objcxx/HostThreadMacOSX.mm
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.h
lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.h
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.h
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h
lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
lldb/source/Plugins/DynamicLoader/Static/DynamicLoaderStatic.h
lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionVariable.h
lldb/source/Plugins/Instruction/ARM/EmulationStateARM.h
lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.h
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.h
lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
lldb/source/Plugins/Platform/Android/PlatformAndroid.h
lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.h
lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
lldb/source/Plugins/Platform/Linux/PlatformLinux.h
lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
lldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.h
lldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleBridge.h
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleTV.h
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleWatch.h
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.h
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h
lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h
lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
lldb/source/Plugins/Platform/Windows/PlatformWindows.h
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
lldb/source/Plugins/Process/MacOSX-Kernel/CommunicationKDP.h
lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
lldb/source/Plugins/Process/Utility/RegisterContextDummy.h
lldb/source/Plugins/Process/Utility/RegisterContextHistory.h
lldb/source/Plugins/Process/Utility/RegisterContextMemory.h
lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h
lldb/source/Plugins/Process/Utility/ThreadMemory.h
lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationReplayServer.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
lldb/source/Plugins/Process/mach-core/ProcessMachCore.h
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.h
lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.h
lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.h
lldb/source/Plugins/SymbolVendor/wasm/SymbolVendorWasm.h
lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.h
lldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80543.266136.patch
Type: text/x-patch
Size: 127979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200526/de80c475/attachment-0001.bin>
More information about the lldb-commits
mailing list