Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 229 Lines • ▼ Show 20 Lines | |||||
C++ Language Changes in Clang | C++ Language Changes in Clang | ||||
----------------------------- | ----------------------------- | ||||
- Improved ``-O0`` code generation for calls to ``std::move``, ``std::forward``, | - Improved ``-O0`` code generation for calls to ``std::move``, ``std::forward``, | ||||
``std::move_if_noexcept``, ``std::addressof``, and ``std::as_const``. These | ``std::move_if_noexcept``, ``std::addressof``, and ``std::as_const``. These | ||||
are now treated as compiler builtins and implemented directly, rather than | are now treated as compiler builtins and implemented directly, rather than | ||||
instantiating the definition from the standard library. | instantiating the definition from the standard library. | ||||
C++14 Feature Support | |||||
^^^^^^^^^^^^^^^^^^^^^ | |||||
- Sized deallocation is enabled by default in C++14 onwards. | |||||
C++20 Feature Support | C++20 Feature Support | ||||
^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^ | ||||
- Diagnose consteval and constexpr issues that happen at namespace scope. This | - Diagnose consteval and constexpr issues that happen at namespace scope. This | ||||
partially addresses `Issue 51593 <https://github.com/llvm/llvm-project/issues/51593>`_. | partially addresses `Issue 51593 <https://github.com/llvm/llvm-project/issues/51593>`_. | ||||
- No longer attempt to evaluate a consteval UDL function call at runtime when | - No longer attempt to evaluate a consteval UDL function call at runtime when | ||||
it is called through a template instantiation. This fixes | it is called through a template instantiation. This fixes | ||||
`Issue 54578 <https://github.com/llvm/llvm-project/issues/54578>`_. | `Issue 54578 <https://github.com/llvm/llvm-project/issues/54578>`_. | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |