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 128 Lines • ▼ Show 20 Lines | |||||
- Clang now supports expressions in ``#pragma clang __debug dump``. | - Clang now supports expressions in ``#pragma clang __debug dump``. | ||||
New Compiler Flags | New Compiler Flags | ||||
------------------ | ------------------ | ||||
Deprecated Compiler Flags | Deprecated Compiler Flags | ||||
------------------------- | ------------------------- | ||||
Modified Compiler Flags | Modified Compiler Flags | ||||
aaron.ballman: This should be:
```
(`#59718 <https://github.com/llvm/llvm-project/issues/59718>`_)
```
with… | |||||
----------------------- | ----------------------- | ||||
Removed Compiler Flags | Removed Compiler Flags | ||||
------------------------- | ------------------------- | ||||
- The deprecated flag `-fmodules-ts` is removed. Please use ``-std=c++20`` | - The deprecated flag `-fmodules-ts` is removed. Please use ``-std=c++20`` | ||||
or higher to use standard C++ modules instead. | or higher to use standard C++ modules instead. | ||||
- The deprecated flag `-fcoroutines-ts` is removed. Please use ``-std=c++20`` | - The deprecated flag `-fcoroutines-ts` is removed. Please use ``-std=c++20`` | ||||
or higher to use standard C++ coroutines instead. | or higher to use standard C++ coroutines instead. | ||||
Show All 35 Lines | - Diagnostics relating to macros on the command line of a preprocessed assembly | ||||
``<built-in>``. | ``<built-in>``. | ||||
- Clang constexpr evaluator now provides a more concise diagnostic when calling | - Clang constexpr evaluator now provides a more concise diagnostic when calling | ||||
function pointer that is known to be null. | function pointer that is known to be null. | ||||
- Clang now avoids duplicate warnings on unreachable ``[[fallthrough]];`` statements | - Clang now avoids duplicate warnings on unreachable ``[[fallthrough]];`` statements | ||||
previously issued from ``-Wunreachable-code`` and ``-Wunreachable-code-fallthrough`` | previously issued from ``-Wunreachable-code`` and ``-Wunreachable-code-fallthrough`` | ||||
by prioritizing ``-Wunreachable-code-fallthrough``. | by prioritizing ``-Wunreachable-code-fallthrough``. | ||||
- Clang now correctly diagnoses statement attributes ``[[clang::always_inine]]`` and | - Clang now correctly diagnoses statement attributes ``[[clang::always_inine]]`` and | ||||
``[[clang::noinline]]`` when used on a statement with dependent call expressions. | ``[[clang::noinline]]`` when used on a statement with dependent call expressions. | ||||
- Clang now checks for completeness of the second and third arguments in the | |||||
conditional operator. | |||||
(`#59718 <https://github.com/llvm/llvm-project/issues/59718>`_) | |||||
Bug Fixes in This Version | Bug Fixes in This Version | ||||
------------------------- | ------------------------- | ||||
- Fix crash when diagnosing incorrect usage of ``_Nullable`` involving alias | - Fix crash when diagnosing incorrect usage of ``_Nullable`` involving alias | ||||
templates. | templates. | ||||
(`#60344 <https://github.com/llvm/llvm-project/issues/60344>`_) | (`#60344 <https://github.com/llvm/llvm-project/issues/60344>`_) | ||||
- Fix confusing warning message when ``/clang:-x`` is passed in ``clang-cl`` | - Fix confusing warning message when ``/clang:-x`` is passed in ``clang-cl`` | ||||
▲ Show 20 Lines • Show All 216 Lines • Show Last 20 Lines |
This should be:
with the trailing _.