[all-commits] [llvm/llvm-project] 157bbe: [libc++] Remove the ability to use the std::nullpt...

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Feb 7 14:51:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 157bbe6aea22e87c822f6cda3cd404b8f657dce4
      https://github.com/llvm/llvm-project/commit/157bbe6aea22e87c822f6cda3cd404b8f657dce4
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M libcxx/docs/ReleaseNotes.rst
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__config
    M libcxx/include/__debug
    M libcxx/include/__format/formatter_pointer.h
    M libcxx/include/__memory/auto_ptr.h
    R libcxx/include/__nullptr
    M libcxx/include/__support/win32/locale_win32.h
    M libcxx/include/cstddef
    M libcxx/include/module.modulemap
    M libcxx/include/stddef.h
    M libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
    M libcxx/utils/generate_private_header_tests.py

  Log Message:
  -----------
  [libc++] Remove the ability to use the std::nullptr_t emulation in C++03 mode

Back in https://reviews.llvm.org/D109459, we stopped using the C++03
emulation for std::nullptr_t by default, which was an ABI break. We
still left a knob for users to turn it back on if they were broken by
the change, with a note that we would remove that knob after one release.

The time has now come to remove the knob and clean up the std::nullptr_t
emulation.

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




More information about the All-commits mailing list