Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"
authorKazu Hirata <kazu@google.com>
Sat, 1 Jan 2022 19:15:14 +0000 (11:15 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 1 Jan 2022 19:15:14 +0000 (11:15 -0800)
commit95f7112be8daa521e607fb3c231012a6d5eafa96
tree944651d50a331cfa4c4c475e46496fc0eb202077
parent913457acf07be7f22d71ac41ad1076517d7f45c6
Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"

This reverts commit 913457acf07be7f22d71ac41ad1076517d7f45c6.

It again broke builds on Windows:

  lldb/source/Host/common/HostNativeThreadBase.cpp(37,14): error:
  assigning to 'lldb::thread_result_t' (aka 'unsigned int') from
  incompatible type 'std::nullptr_t'
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Host/common/HostNativeThreadBase.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
lldb/source/Symbol/Symbol.cpp