[all-commits] [llvm/llvm-project] 7d167f: [C++] Expose nullptr_t from stddef.h in C++ mode (...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Aug 21 06:12:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d167f45643b37a627e2aef49f718a5a2debd5d3
      https://github.com/llvm/llvm-project/commit/7d167f45643b37a627e2aef49f718a5a2debd5d3
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-08-21 (Thu, 21 Aug 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Headers/__stddef_nullptr_t.h
    M clang/test/Headers/stddefneeds.cpp

  Log Message:
  -----------
  [C++] Expose nullptr_t from stddef.h in C++ mode (#154599)

The C++ standard requires stddef.h to declare all of its contents in the
global namespace. We were only doing it when trying to be compatible
with Microsoft extensions. Now we expose in C++11 or later, in addition
to exposing it in Microsoft extensions mode.

Fixes #154577



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list