Skip to content

Commit

Permalink
[Clang] Add a release note deprecating __is_nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
philnik777 committed Aug 2, 2024
1 parent 142499d commit b2eab34
Showing 1 changed file with 5 additions and 1 deletion.
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
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

0 comments on commit b2eab34

Please sign in to comment.