[clang] aa9a656 - Fix release note formatting and style; NFC
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 17 05:22:29 PDT 2022
Author: Aaron Ballman
Date: 2022-09-17T08:21:33-04:00
New Revision: aa9a656b03c28386e367f69ceb311c94d62ac1ab
URL: https://github.com/llvm/llvm-project/commit/aa9a656b03c28386e367f69ceb311c94d62ac1ab
DIFF: https://github.com/llvm/llvm-project/commit/aa9a656b03c28386e367f69ceb311c94d62ac1ab.diff
LOG: Fix release note formatting and style; NFC
Uses double backticks where appropriate, changes some instances of
GH12345 to be Issue 12345, etc.
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 4c251d1dc6ed..e81be2808fbd 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -62,7 +62,6 @@ code bases.
What's New in Clang |release|?
==============================
-
Some of the major new features and improvements to Clang are listed
here. Generic improvements to Clang as a whole or to its underlying
infrastructure are described first, followed by language-specific
@@ -154,9 +153,10 @@ Improvements to Clang's diagnostics
supports both c and c++ language.
- When diagnosing multi-level pack expansions of mismatched lengths, Clang will
now, in most cases, be able to point to the relevant outer parameter.
-- no_sanitize("...") on a global variable for known but not relevant sanitizers
- is now just a warning. It now says that this will be ignored instead of
- incorrectly saying no_sanitize only applies to functions and methods.
+- ``no_sanitize("...")`` on a global variable for known but not relevant
+ sanitizers is now just a warning. It now says that this will be ignored
+ instead of incorrectly saying no_sanitize only applies to functions and
+ methods.
- No longer mention ``reinterpet_cast`` in the invalid constant expression
diagnostic note when in C mode.
- Clang will now give a more suitale diagnostic for declaration of block
@@ -233,16 +233,16 @@ Windows Support
AIX Support
-----------
-* When using `-shared`, the clang driver now invokes llvm-nm to create an
+* When using ``-shared``, the clang driver now invokes llvm-nm to create an
export list if the user doesn't specify one via linker flag or pass an
alternative export control option.
C Language Changes in Clang
---------------------------
-
- Adjusted ``-Wformat`` warnings according to `WG14 N2562 <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2562.pdf>`_.
- Clang will now consider default argument promotions in printf, and remove unnecessary warnings.
- Especially ``int`` argument with specifier ``%hhd`` and ``%hd``.
+ Clang will now consider default argument promotions in ``printf``, and remove
+ unnecessary warnings. Especially ``int`` argument with specifier ``%hhd`` and
+ ``%hd``.
C2x Feature Support
-------------------
@@ -252,7 +252,6 @@ C2x Feature Support
C++ Language Changes in Clang
-----------------------------
-
- Implemented DR692, DR1395 and DR1432. Use the ``-fclang-abi-compat=15`` option
to get the old partial ordering behavior regarding packs.
- Clang's default C++/ObjC++ standard is now ``gnu++17`` instead of ``gnu++14``.
@@ -262,38 +261,35 @@ C++ Language Changes in Clang
C++20 Feature Support
^^^^^^^^^^^^^^^^^^^^^
-
- Support capturing structured bindings in lambdas
(`P1091R3 <https://wg21.link/p1091r3>`_ and `P1381R1 <https://wg21.link/P1381R1>`).
- This fixes issues `GH52720 <https://github.com/llvm/llvm-project/issues/52720>`_,
- `GH54300 <https://github.com/llvm/llvm-project/issues/54300>`_,
- `GH54301 <https://github.com/llvm/llvm-project/issues/54301>`_,
- and `GH49430 <https://github.com/llvm/llvm-project/issues/49430>`_.
+ This fixes issues `Issue 52720 <https://github.com/llvm/llvm-project/issues/52720>`_,
+ `Issue 54300 <https://github.com/llvm/llvm-project/issues/54300>`_,
+ `Issue 54301 <https://github.com/llvm/llvm-project/issues/54301>`_,
+ and `Issue 49430 <https://github.com/llvm/llvm-project/issues/49430>`_.
- Consider explicitly defaulted constexpr/consteval special member function
template instantiation to be constexpr/consteval even though a call to such
a function cannot appear in a constant expression.
(C++14 [dcl.constexpr]p6 (CWG DR647/CWG DR1358))
- Correctly defer dependent immediate function invocations until template instantiation.
- This fixes `GH55601 <https://github.com/llvm/llvm-project/issues/55601>`_.
+ This fixes `Issue 55601 <https://github.com/llvm/llvm-project/issues/55601>`_.
- Implemented "Conditionally Trivial Special Member Functions" (`P0848 <https://wg21.link/p0848r3>`_).
Note: The handling of deleted functions is not yet compliant, as Clang
does not implement `DR1496 <https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1496>`_
and `DR1734 <https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1734>`_.
- Class member variables are now in scope when parsing a ``requires`` clause. Fixes
- `GH55216 <https://github.com/llvm/llvm-project/issues/55216>`_.
+ `Issue 55216 <https://github.com/llvm/llvm-project/issues/55216>`_.
- Correctly set expression evaluation context as 'immediate function context' in
consteval functions.
- This fixes `GH51182 <https://github.com/llvm/llvm-project/issues/51182>`_.
-
+ This fixes `Issue 51182 <https://github.com/llvm/llvm-project/issues/51182>`_.
- Fixes an assert crash caused by looking up missing vtable information on ``consteval``
- virtual functions. Fixes `GH55065 <https://github.com/llvm/llvm-project/issues/55065>`_.
-
+ virtual functions. Fixes `Issue 55065 <https://github.com/llvm/llvm-project/issues/55065>`_.
- Skip rebuilding lambda expressions in arguments of immediate invocations.
- This fixes `GH56183 <https://github.com/llvm/llvm-project/issues/56183>`_,
- `GH51695 <https://github.com/llvm/llvm-project/issues/51695>`_,
- `GH50455 <https://github.com/llvm/llvm-project/issues/50455>`_,
- `GH54872 <https://github.com/llvm/llvm-project/issues/54872>`_,
- `GH54587 <https://github.com/llvm/llvm-project/issues/54587>`_.
+ This fixes `Issue 56183 <https://github.com/llvm/llvm-project/issues/56183>`_,
+ `Issue 51695 <https://github.com/llvm/llvm-project/issues/51695>`_,
+ `Issue 50455 <https://github.com/llvm/llvm-project/issues/50455>`_,
+ `Issue 54872 <https://github.com/llvm/llvm-project/issues/54872>`_,
+ `Issue 54587 <https://github.com/llvm/llvm-project/issues/54587>`_.
C++2b Feature Support
^^^^^^^^^^^^^^^^^^^^^
@@ -324,13 +320,11 @@ CUDA Support in Clang
RISC-V Support in Clang
-----------------------
-
-- ``sifive-7-rv32`` and ``sifive-7-rv64`` are no longer supported for `-mcpu`.
- Use `sifive-e76`, `sifive-s76`, or `sifive-u74` instead.
+- ``sifive-7-rv32`` and ``sifive-7-rv64`` are no longer supported for ``-mcpu``.
+ Use ``sifive-e76``, ``sifive-s76``, or ``sifive-u74`` instead.
X86 Support in Clang
--------------------
-
- Support ``-mindirect-branch-cs-prefix`` for call and jmp to indirect thunk.
DWARF Support in Clang
@@ -338,8 +332,7 @@ DWARF Support in Clang
Arm and AArch64 Support in Clang
--------------------------------
-
-- `-march` values for targeting armv2, armv2A, armv3 and armv3M have been removed.
+- ``-march`` values for targeting armv2, armv2A, armv3 and armv3M have been removed.
Their presence gave the impression that Clang can correctly generate code for
them, which it cannot.
@@ -363,15 +356,13 @@ clang-extdef-mapping
libclang
--------
-
-- Introduced the new function `clang_getUnqualifiedType`, which mimics
- the behavior of `QualType::getUnqualifiedType` for `CXType`.
-- Introduced the new function `clang_getNonReferenceType`, which mimics
- the behavior of `QualType::getNonReferenceType` for `CXType`.
+- Introduced the new function ``clang_getUnqualifiedType``, which mimics
+ the behavior of ``QualType::getUnqualifiedType`` for ``CXType``.
+- Introduced the new function ``clang_getNonReferenceType``, which mimics
+ the behavior of ``QualType::getNonReferenceType`` for ``CXType``.
Static Analyzer
---------------
-
- Removed the deprecated ``-analyzer-store`` and
``-analyzer-opt-analyze-nested-blocks`` analyzer flags.
``scanbuild`` was also updated accordingly.
More information about the cfe-commits
mailing list