Revert "[lldb] Use nullptr instead of 0 or NULL (NFC)"

This reverts commit 24d2405588.
Breaks building on Windows:

    ../../lldb/include\lldb/Host/HostNativeThreadBase.h(49,36): error:
        cannot initialize a member subobject of type 'lldb::thread_result_t'
        (aka 'unsigned int') with an rvalue of type 'std::nullptr_t'
      lldb::thread_result_t m_result = nullptr;
                                       ^~~~~~~
    1 error generated.
This commit is contained in:
Nico Weber
2022-01-01 13:35:54 -05:00
parent dd2ad7fa47
commit 4f2eeb6a65
9 changed files with 22 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
#else
constexpr lldb_private::HostInfo::SharedLibraryDirectoryHelper
*g_shlib_dir_helper = nullptr;
*g_shlib_dir_helper = 0;
#endif
using namespace lldb_private;