Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Clang] Add a release note deprecating __is_nullptr #101638

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ Non-comprehensive list of changes in this release
type of the pointer was taken into account. This improves
compatibility with GCC's libstdc++.

- The type traits builtin ``__is_nullptr`` is deprecated in CLang 19 and will be
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The type traits builtin ``__is_nullptr`` is deprecated in CLang 19 and will be
- The type traits builtin ``__is_nullptr`` is deprecated in Clang 19 and will be

removed in Clang 20. ``__is_same(__remove_cv(T), decltype(nullptr))`` can be
used instead to check whether a type ``T`` is a ``nullptr``.

New Compiler Flags
------------------
- ``-fsanitize=implicit-bitfield-conversion`` checks implicit truncation and
Expand Down Expand Up @@ -754,7 +758,7 @@ Improvements to Clang's diagnostics

- Clang now diagnoses dangling assignments for pointer-like objects (annotated with `[[gsl::Pointer]]`) under `-Wdangling-assignment-gsl` (off by default)
Fixes #GH63310.

- Clang now diagnoses uses of alias templates with a deprecated attribute. (Fixes #GH18236).

.. code-block:: c++
Expand Down
Loading