[Lldb-commits] [PATCH] Convert NULL to nullptr in LLDB sources
Robert Matusewicz
matekm at gmail.com
Fri Apr 25 23:51:33 PDT 2014
Hi,
This patch converts NULL to nullptrs. No functional changes. The conversion was done with clang-modernize --use-nullptr.
The patch is huge (32k lines, 1.5MiB), but the changes are pretty simple. Still, if someone thinks it is too big, I can split it up
http://reviews.llvm.org/D3520
Files:
include/lldb/API/SBCommandInterpreter.h
include/lldb/API/SBCommandReturnObject.h
include/lldb/API/SBTarget.h
include/lldb/Breakpoint/Breakpoint.h
include/lldb/Breakpoint/BreakpointLocation.h
include/lldb/Breakpoint/BreakpointLocationList.h
include/lldb/Breakpoint/BreakpointOptions.h
include/lldb/Breakpoint/Watchpoint.h
include/lldb/Breakpoint/WatchpointOptions.h
include/lldb/Core/Address.h
include/lldb/Core/AddressRange.h
include/lldb/Core/Broadcaster.h
include/lldb/Core/Communication.h
include/lldb/Core/ConstString.h
include/lldb/Core/DataExtractor.h
include/lldb/Core/Debugger.h
include/lldb/Core/Event.h
include/lldb/Core/IOHandler.h
include/lldb/Core/Listener.h
include/lldb/Core/MappedHash.h
include/lldb/Core/Module.h
include/lldb/Core/ModuleList.h
include/lldb/Core/ModuleSpec.h
include/lldb/Core/Opcode.h
include/lldb/Core/PluginManager.h
include/lldb/Core/RangeMap.h
include/lldb/Core/RegisterValue.h
include/lldb/Core/RegularExpression.h
include/lldb/Core/STLUtils.h
include/lldb/Core/SourceManager.h
include/lldb/Core/Stream.h
include/lldb/Core/StringList.h
include/lldb/Core/Timer.h
include/lldb/Core/UUID.h
include/lldb/Core/UniqueCStringMap.h
include/lldb/Core/Value.h
include/lldb/Core/ValueObject.h
include/lldb/Core/ValueObjectCast.h
include/lldb/Core/ValueObjectConstResult.h
include/lldb/Core/ValueObjectConstResultImpl.h
include/lldb/Core/ValueObjectDynamicValue.h
include/lldb/Core/ValueObjectSyntheticFilter.h
include/lldb/DataFormatters/DataVisualization.h
include/lldb/DataFormatters/FormatClasses.h
include/lldb/DataFormatters/FormatManager.h
include/lldb/DataFormatters/FormattersContainer.h
include/lldb/DataFormatters/TypeCategory.h
include/lldb/DataFormatters/TypeCategoryMap.h
include/lldb/DataFormatters/TypeSummary.h
include/lldb/DataFormatters/TypeSynthetic.h
include/lldb/DataFormatters/ValueObjectPrinter.h
include/lldb/Expression/ClangASTSource.h
include/lldb/Expression/ClangExpressionDeclMap.h
include/lldb/Expression/ClangExpressionVariable.h
include/lldb/Expression/ClangFunction.h
include/lldb/Expression/ClangUtilityFunction.h
include/lldb/Expression/IRExecutionUnit.h
include/lldb/Expression/Materializer.h
include/lldb/Host/Condition.h
include/lldb/Host/DynamicLibrary.h
include/lldb/Host/File.h
include/lldb/Host/FileSpec.h
include/lldb/Host/Mutex.h
include/lldb/Host/Predicate.h
include/lldb/Host/ProcessRunLock.h
include/lldb/Interpreter/Args.h
include/lldb/Interpreter/CommandInterpreter.h
include/lldb/Interpreter/CommandObject.h
include/lldb/Interpreter/CommandObjectMultiword.h
include/lldb/Interpreter/CommandReturnObject.h
include/lldb/Interpreter/OptionGroupArchitecture.h
include/lldb/Interpreter/OptionValue.h
include/lldb/Interpreter/OptionValueProperties.h
include/lldb/Interpreter/OptionValueRegex.h
include/lldb/Interpreter/OptionValueString.h
include/lldb/Interpreter/Options.h
include/lldb/Interpreter/PythonDataObjects.h
include/lldb/Interpreter/ScriptInterpreter.h
include/lldb/Interpreter/ScriptInterpreterPython.h
include/lldb/Symbol/Block.h
include/lldb/Symbol/ClangASTContext.h
include/lldb/Symbol/ClangASTImporter.h
include/lldb/Symbol/ClangASTType.h
include/lldb/Symbol/ClangExternalASTSourceCallbacks.h
include/lldb/Symbol/ClangExternalASTSourceCommon.h
include/lldb/Symbol/ClangNamespaceDecl.h
include/lldb/Symbol/LineTable.h
include/lldb/Symbol/ObjectContainer.h
include/lldb/Symbol/SymbolContext.h
include/lldb/Symbol/SymbolContextScope.h
include/lldb/Symbol/SymbolFile.h
include/lldb/Symbol/UnwindPlan.h
include/lldb/Target/ExecutionContext.h
include/lldb/Target/ObjCLanguageRuntime.h
include/lldb/Target/Platform.h
include/lldb/Target/Process.h
include/lldb/Target/QueueItem.h
include/lldb/Target/StackFrame.h
include/lldb/Target/StackFrameList.h
include/lldb/Target/StackID.h
include/lldb/Target/Target.h
include/lldb/Target/TargetList.h
include/lldb/Target/Thread.h
include/lldb/Target/ThreadPlanShouldStopHere.h
include/lldb/Target/ThreadSpec.h
include/lldb/Utility/Iterable.h
include/lldb/Utility/SharingPtr.h
source/API/SBAddress.cpp
source/API/SBBlock.cpp
source/API/SBBreakpoint.cpp
source/API/SBBreakpointLocation.cpp
source/API/SBBroadcaster.cpp
source/API/SBCommandInterpreter.cpp
source/API/SBCommandReturnObject.cpp
source/API/SBCommunication.cpp
source/API/SBCompileUnit.cpp
source/API/SBData.cpp
source/API/SBDebugger.cpp
source/API/SBDeclaration.cpp
source/API/SBError.cpp
source/API/SBEvent.cpp
source/API/SBFrame.cpp
source/API/SBFunction.cpp
source/API/SBHostOS.cpp
source/API/SBInstruction.cpp
source/API/SBInstructionList.cpp
source/API/SBLineEntry.cpp
source/API/SBListener.cpp
source/API/SBModule.cpp
source/API/SBPlatform.cpp
source/API/SBProcess.cpp
source/API/SBQueue.cpp
source/API/SBQueueItem.cpp
source/API/SBSection.cpp
source/API/SBSourceManager.cpp
source/API/SBStream.cpp
source/API/SBStringList.cpp
source/API/SBSymbol.cpp
source/API/SBSymbolContext.cpp
source/API/SBSymbolContextList.cpp
source/API/SBTarget.cpp
source/API/SBThread.cpp
source/API/SBType.cpp
source/API/SBTypeCategory.cpp
source/API/SBTypeFilter.cpp
source/API/SBTypeFormat.cpp
source/API/SBTypeNameSpecifier.cpp
source/API/SBTypeSummary.cpp
source/API/SBTypeSynthetic.cpp
source/API/SBValue.cpp
source/API/SBValueList.cpp
source/API/SBWatchpoint.cpp
source/Breakpoint/Breakpoint.cpp
source/Breakpoint/BreakpointID.cpp
source/Breakpoint/BreakpointIDList.cpp
source/Breakpoint/BreakpointLocation.cpp
source/Breakpoint/BreakpointLocationList.cpp
source/Breakpoint/BreakpointOptions.cpp
source/Breakpoint/BreakpointResolverAddress.cpp
source/Breakpoint/BreakpointResolverFileLine.cpp
source/Breakpoint/BreakpointResolverFileRegex.cpp
source/Breakpoint/BreakpointResolverName.cpp
source/Breakpoint/BreakpointSite.cpp
source/Breakpoint/StoppointCallbackContext.cpp
source/Breakpoint/Watchpoint.cpp
source/Breakpoint/WatchpointOptions.cpp
source/Commands/CommandCompletions.cpp
source/Commands/CommandObjectApropos.cpp
source/Commands/CommandObjectArgs.cpp
source/Commands/CommandObjectBreakpoint.cpp
source/Commands/CommandObjectBreakpointCommand.cpp
source/Commands/CommandObjectCommands.cpp
source/Commands/CommandObjectDisassemble.cpp
source/Commands/CommandObjectDisassemble.h
source/Commands/CommandObjectExpression.cpp
source/Commands/CommandObjectExpression.h
source/Commands/CommandObjectFrame.cpp
source/Commands/CommandObjectHelp.cpp
source/Commands/CommandObjectLog.cpp
source/Commands/CommandObjectMemory.cpp
source/Commands/CommandObjectMultiword.cpp
source/Commands/CommandObjectPlatform.cpp
source/Commands/CommandObjectPlugin.cpp
source/Commands/CommandObjectProcess.cpp
source/Commands/CommandObjectRegister.cpp
source/Commands/CommandObjectSettings.cpp
source/Commands/CommandObjectSource.cpp
source/Commands/CommandObjectSyntax.cpp
source/Commands/CommandObjectTarget.cpp
source/Commands/CommandObjectThread.cpp
source/Commands/CommandObjectType.cpp
source/Commands/CommandObjectWatchpoint.cpp
source/Commands/CommandObjectWatchpointCommand.cpp
source/Core/Address.cpp
source/Core/AddressResolverName.cpp
source/Core/ArchSpec.cpp
source/Core/Broadcaster.cpp
source/Core/Communication.cpp
source/Core/ConnectionFileDescriptor.cpp
source/Core/ConnectionSharedMemory.cpp
source/Core/ConstString.cpp
source/Core/DataBufferHeap.cpp
source/Core/DataBufferMemoryMap.cpp
source/Core/DataEncoder.cpp
source/Core/DataExtractor.cpp
source/Core/Debugger.cpp
source/Core/Disassembler.cpp
source/Core/DynamicLoader.cpp
source/Core/EmulateInstruction.cpp
source/Core/Error.cpp
source/Core/Event.cpp
source/Core/FileSpecList.cpp
source/Core/IOHandler.cpp
source/Core/Language.cpp
source/Core/Listener.cpp
source/Core/Log.cpp
source/Core/Mangled.cpp
source/Core/Module.cpp
source/Core/ModuleList.cpp
source/Core/Opcode.cpp
source/Core/PluginManager.cpp
source/Core/RegisterValue.cpp
source/Core/RegularExpression.cpp
source/Core/Scalar.cpp
source/Core/SearchFilter.cpp
source/Core/Section.cpp
source/Core/SourceManager.cpp
source/Core/Stream.cpp
source/Core/StringList.cpp
source/Core/Timer.cpp
source/Core/UUID.cpp
source/Core/Value.cpp
source/Core/ValueObject.cpp
source/Core/ValueObjectCast.cpp
source/Core/ValueObjectConstResultImpl.cpp
source/Core/ValueObjectDynamicValue.cpp
source/Core/ValueObjectMemory.cpp
source/Core/ValueObjectRegister.cpp
source/Core/ValueObjectSyntheticFilter.cpp
source/Core/ValueObjectVariable.cpp
source/DataFormatters/CXXFormatterFunctions.cpp
source/DataFormatters/DataVisualization.cpp
source/DataFormatters/FormatManager.cpp
source/DataFormatters/LibCxx.cpp
source/DataFormatters/LibCxxList.cpp
source/DataFormatters/LibCxxMap.cpp
source/DataFormatters/LibCxxUnorderedMap.cpp
source/DataFormatters/LibStdcpp.cpp
source/DataFormatters/NSArray.cpp
source/DataFormatters/NSDictionary.cpp
(187 more files...)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3520.8863.patch
Type: text/x-patch
Size: 1495207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140426/c81f4a5a/attachment.bin>
More information about the lldb-commits
mailing list