[clang] 49c9a68 - The release notes for ObjCBreakBeforeNestedBlockParam was placed between the release note for IndentCaseBlocks and its example code
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 16 10:54:41 PDT 2020
Author: mydeveloperday
Date: 2020-05-16T18:52:13+01:00
New Revision: 49c9a68d7fc62aabdf4d625fcb2954555496772b
URL: https://github.com/llvm/llvm-project/commit/49c9a68d7fc62aabdf4d625fcb2954555496772b
DIFF: https://github.com/llvm/llvm-project/commit/49c9a68d7fc62aabdf4d625fcb2954555496772b.diff
LOG: The release notes for ObjCBreakBeforeNestedBlockParam was placed between the release note for IndentCaseBlocks and its example code
Remove other whitespace and line limit issues and double blank line issues
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 317b6c191628..8dd22887a195 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -67,8 +67,9 @@ Non-comprehensive list of changes in this release
- clang adds support for a set of extended integer types (``_ExtInt(N)``) that
permit non-power of 2 integers, exposing the LLVM integer types. Since a major
motivating use case for these types is to limit 'bit' usage, these types don't
- automatically promote to 'int' when operations are done between two ``ExtInt(N)``
- types, instead math occurs at the size of the largest ``ExtInt(N)`` type.
+ automatically promote to 'int' when operations are done between two
+ ``ExtInt(N)`` types, instead math occurs at the size of the largest
+ ``ExtInt(N)`` type.
- Users of UBSan, PGO, and coverage on Windows will now need to add clang's
library resource directory to their library search path. These features all
@@ -81,17 +82,15 @@ Non-comprehensive list of changes in this release
linker. If the user links the program with the ``clang`` or ``clang-cl``
drivers, the driver will pass this flag for them.
-
New Compiler Flags
------------------
-
- -fstack-clash-protection will provide a protection against the stack clash
attack for x86 architecture through automatic probing of each page of
allocated stack.
- -ffp-exception-behavior={ignore,maytrap,strict} allows the user to specify
- the floating-point exception behavior. The default setting is ``ignore``.
+ the floating-point exception behavior. The default setting is ``ignore``.
- -ffp-model={precise,strict,fast} provides the user an umbrella option to
simplify access to the many single purpose floating point options. The default
@@ -110,11 +109,11 @@ Modified Compiler Flags
- -fno-common has been enabled as the default for all targets. Therefore, C
code that uses tentative definitions as definitions of a variable in multiple
- translation units will trigger multiple-definition linker errors. Generally,
- this occurs when the use of the ``extern`` keyword is neglected in the declaration
- of a variable in a header file. In some cases, no specific translation unit
- provides a definition of the variable. The previous behavior can be restored by
- specifying ``-fcommon``.
+ translation units will trigger multiple-definition linker errors. Generally,
+ this occurs when the use of the ``extern`` keyword is neglected in the
+ declaration of a variable in a header file. In some cases, no specific
+ translation unit provides a definition of the variable. The previous
+ behavior can be restored by specifying ``-fcommon``.
- -Wasm-ignored-qualifier (ex. `asm const ("")`) has been removed and replaced
with an error (this matches a recent change in GCC-9).
- -Wasm-file-asm-volatile (ex. `asm volatile ("")` at global scope) has been
@@ -176,7 +175,7 @@ C++ Language Changes in Clang
Previous versions of Clang rejected some constructs of this form
(specifically, where the linkage of the type happened to be computed
before the parser reached the typedef name); those cases are still rejected
- in Clang 11. In addition, cases that previous versions of Clang did not
+ in Clang 11. In addition, cases that previous versions of Clang did not
reject now produce an extension warning. This warning can be disabled with
the warning flag ``-Wno-non-c-typedef-for-linkage``.
@@ -207,7 +206,6 @@ C++1z Feature Support
Objective-C Language Changes in Clang
-------------------------------------
-
OpenCL C Language Changes in Clang
----------------------------------
@@ -216,7 +214,6 @@ OpenCL C Language Changes in Clang
ABI Changes in Clang
--------------------
-
OpenMP Support in Clang
-----------------------
@@ -234,7 +231,6 @@ These are major API changes that have happened since the 10.0.0 release of
Clang. If upgrading an external codebase that uses Clang as a library,
this section should help get you past the largest hurdles of upgrading.
-
Build System Changes
--------------------
@@ -255,15 +251,11 @@ AST Matchers
clang-format
------------
-
- Option ``IndentCaseBlocks`` has been added to support treating the block
following a switch case label as a scope block which gets indented itself.
It helps avoid having the closing bracket align with the switch statement's
closing bracket (when ``IndentCaseLabels`` is ``false``).
-- Option ``ObjCBreakBeforeNestedBlockParam`` has been added to optionally apply
- linebreaks for function arguments declarations before nested blocks.
-
.. code-block:: c++
switch (fool) { vs. switch (fool) {
@@ -278,6 +270,9 @@ clang-format
}
}
+- Option ``ObjCBreakBeforeNestedBlockParam`` has been added to optionally apply
+ linebreaks for function arguments declarations before nested blocks.
+
- Option ``InsertTrailingCommas`` can be set to ``TCS_Wrapped`` to insert
trailing commas in container literals (arrays and objects) that wrap across
multiple lines. It is currently only available for JavaScript and disabled by
@@ -317,7 +312,6 @@ Static Analyzer
Undefined Behavior Sanitizer (UBSan)
------------------------------------
-
Core Analysis Improvements
==========================
More information about the cfe-commits
mailing list