Skip to content

Commit 8f5b44a

Browse files
committed
Bump the trunk version to 10.0.0svn
and clear the release notes. llvm-svn: 366427
1 parent c89a3d7 commit 8f5b44a

File tree

22 files changed

+79
-367
lines changed

22 files changed

+79
-367
lines changed
+9-190
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
===================================================
2-
Extra Clang Tools 9.0.0 (In-Progress) Release Notes
3-
===================================================
1+
====================================================
2+
Extra Clang Tools 10.0.0 (In-Progress) Release Notes
3+
====================================================
44

55
.. contents::
66
:local:
@@ -10,15 +10,15 @@ Written by the `LLVM Team <https://llvm.org/>`_
1010

1111
.. warning::
1212

13-
These are in-progress notes for the upcoming Extra Clang Tools 9 release.
13+
These are in-progress notes for the upcoming Extra Clang Tools 10 release.
1414
Release notes for previous releases can be found on
1515
`the Download Page <https://releases.llvm.org/download.html>`_.
1616

1717
Introduction
1818
============
1919

2020
This document contains the release notes for the Extra Clang Tools, part of the
21-
Clang release 9.0.0. Here we describe the status of the Extra Clang Tools in
21+
Clang release 10.0.0. Here we describe the status of the Extra Clang Tools in
2222
some detail, including major improvements from the previous release and new
2323
feature work. All LLVM releases may be downloaded from the `LLVM releases web
2424
site <https://llvm.org/releases/>`_.
@@ -32,8 +32,8 @@ main Clang web page, this document applies to the *next* release, not
3232
the current one. To see the release notes for a specific release, please
3333
see the `releases page <https://llvm.org/releases/>`_.
3434

35-
What's New in Extra Clang Tools 9.0.0?
36-
======================================
35+
What's New in Extra Clang Tools 10.0.0?
36+
=======================================
3737

3838
Some of the major new features and improvements to Extra Clang Tools are listed
3939
here. Generic improvements to Extra Clang Tools as a whole or to its underlying
@@ -67,187 +67,7 @@ The improvements are...
6767
Improvements to clang-tidy
6868
--------------------------
6969

70-
- New OpenMP module.
71-
72-
For checks specific to `OpenMP <https://www.openmp.org/>`_ API.
73-
74-
- New :doc:`abseil-duration-addition
75-
<clang-tidy/checks/abseil-duration-addition>` check.
76-
77-
Checks for cases where addition should be performed in the ``absl::Time``
78-
domain.
79-
80-
- New :doc:`abseil-duration-conversion-cast
81-
<clang-tidy/checks/abseil-duration-conversion-cast>` check.
82-
83-
Checks for casts of ``absl::Duration`` conversion functions, and recommends
84-
the right conversion function instead.
85-
86-
- New :doc:`abseil-duration-unnecessary-conversion
87-
<clang-tidy/checks/abseil-duration-unnecessary-conversion>` check.
88-
89-
Finds and fixes cases where ``absl::Duration`` values are being converted to
90-
numeric types and back again.
91-
92-
- New :doc:`abseil-time-comparison
93-
<clang-tidy/checks/abseil-time-comparison>` check.
94-
95-
Prefer comparisons in the ``absl::Time`` domain instead of the integer
96-
domain.
97-
98-
- New :doc:`abseil-time-subtraction
99-
<clang-tidy/checks/abseil-time-subtraction>` check.
100-
101-
Finds and fixes ``absl::Time`` subtraction expressions to do subtraction
102-
in the Time domain instead of the numeric domain.
103-
104-
- New :doc:`android-cloexec-pipe
105-
<clang-tidy/checks/android-cloexec-pipe>` check.
106-
107-
This check detects usage of ``pipe()``.
108-
109-
- New :doc:`android-cloexec-pipe2
110-
<clang-tidy/checks/android-cloexec-pipe2>` check.
111-
112-
This checks ensures that ``pipe2()`` is called with the ``O_CLOEXEC`` flag.
113-
114-
- New :doc:`bugprone-branch-clone
115-
<clang-tidy/checks/bugprone-branch-clone>` check.
116-
117-
Checks for repeated branches in ``if/else if/else`` chains, consecutive
118-
repeated branches in ``switch`` statements and indentical true and false
119-
branches in conditional operators.
120-
121-
- New :doc:`bugprone-posix-return
122-
<clang-tidy/checks/bugprone-posix-return>` check.
123-
124-
Checks if any calls to POSIX functions (except ``posix_openpt``) expect negative
125-
return values.
126-
127-
- New :doc:`bugprone-unhandled-self-assignment
128-
<clang-tidy/checks/bugprone-unhandled-self-assignment>` check.
129-
130-
Finds user-defined copy assignment operators which do not protect the code
131-
against self-assignment either by checking self-assignment explicitly or
132-
using the copy-and-swap or the copy-and-move method.
133-
134-
- New :doc:`fuchsia-default-arguments-calls
135-
<clang-tidy/checks/fuchsia-default-arguments-calls>` check.
136-
137-
Warns if a function or method is called with default arguments.
138-
This was previously done by `fuchsia-default-arguments check`, which has been
139-
removed.
140-
141-
- New :doc:`fuchsia-default-arguments-declarations
142-
<clang-tidy/checks/fuchsia-default-arguments-declarations>` check.
143-
144-
Warns if a function or method is declared with default parameters.
145-
This was previously done by `fuchsia-default-arguments check` check, which has
146-
been removed.
147-
148-
- New :doc:`google-objc-avoid-nsobject-new
149-
<clang-tidy/checks/google-objc-avoid-nsobject-new>` check.
150-
151-
Checks for calls to ``+new`` or overrides of it, which are prohibited by the
152-
Google Objective-C style guide.
153-
154-
- New :doc:`google-readability-avoid-underscore-in-googletest-name
155-
<clang-tidy/checks/google-readability-avoid-underscore-in-googletest-name>`
156-
check.
157-
158-
Checks whether there are underscores in googletest test and test case names in
159-
test macros, which is prohibited by the Googletest FAQ.
160-
161-
- New :doc:`llvm-prefer-isa-or-dyn-cast-in-conditionals
162-
<clang-tidy/checks/llvm-prefer-isa-or-dyn-cast-in-conditionals>` check.
163-
164-
Looks at conditionals and finds and replaces cases of ``cast<>``,
165-
which will assert rather than return a null pointer, and
166-
``dyn_cast<>`` where the return value is not captured. Additionally,
167-
finds and replaces cases that match the pattern ``var &&
168-
isa<X>(var)``, where ``var`` is evaluated twice.
169-
170-
- New :doc:`modernize-use-trailing-return-type
171-
<clang-tidy/checks/modernize-use-trailing-return-type>` check.
172-
173-
Rewrites function signatures to use a trailing return type.
174-
175-
- New :doc:`objc-super-self <clang-tidy/checks/objc-super-self>` check.
176-
177-
Finds invocations of ``-self`` on super instances in initializers of
178-
subclasses of ``NSObject`` and recommends calling a superclass initializer
179-
instead.
180-
181-
- New :doc:`openmp-exception-escape
182-
<clang-tidy/checks/openmp-exception-escape>` check.
183-
184-
Analyzes OpenMP Structured Blocks and checks that no exception escapes
185-
out of the Structured Block it was thrown in.
186-
187-
- New :doc:`openmp-use-default-none
188-
<clang-tidy/checks/openmp-use-default-none>` check.
189-
190-
Finds OpenMP directives that are allowed to contain a ``default`` clause,
191-
but either don't specify it or the clause is specified but with the kind
192-
other than ``none``, and suggests to use the ``default(none)`` clause.
193-
194-
- New :doc:`readability-convert-member-functions-to-static
195-
<clang-tidy/checks/readability-convert-member-functions-to-static>` check.
196-
197-
Finds non-static member functions that can be made ``static``.
198-
199-
- New alias :doc:`cert-oop54-cpp
200-
<clang-tidy/checks/cert-oop54-cpp>` to
201-
:doc:`bugprone-unhandled-self-assignment
202-
<clang-tidy/checks/bugprone-unhandled-self-assignment>` was added.
203-
204-
- New alias :doc:`cppcoreguidelines-explicit-virtual-functions
205-
<clang-tidy/checks/cppcoreguidelines-explicit-virtual-functions>` to
206-
:doc:`modernize-use-override
207-
<clang-tidy/checks/modernize-use-override>` was added.
208-
209-
- The :doc:`bugprone-argument-comment
210-
<clang-tidy/checks/bugprone-argument-comment>` now supports
211-
`CommentBoolLiterals`, `CommentIntegerLiterals`, `CommentFloatLiterals`,
212-
`CommentUserDefiniedLiterals`, `CommentStringLiterals`,
213-
`CommentCharacterLiterals` & `CommentNullPtrs` options.
214-
215-
- The :doc:`bugprone-too-small-loop-variable
216-
<clang-tidy/checks/bugprone-too-small-loop-variable>` now supports
217-
`MagnitudeBitsUpperLimit` option. The default value was set to 16,
218-
which greatly reduces warnings related to loops which are unlikely to
219-
cause an actual functional bug.
220-
221-
- Added `UseAssignment` option to :doc:`cppcoreguidelines-pro-type-member-init
222-
<clang-tidy/checks/cppcoreguidelines-pro-type-member-init>`
223-
224-
If set to true, the check will provide fix-its with literal initializers
225-
(``int i = 0;``) instead of curly braces (``int i{};``).
226-
227-
- The `fuchsia-default-arguments` check has been removed.
228-
229-
Warnings of function or method calls and declarations with default arguments
230-
were moved to :doc:`fuchsia-default-arguments-calls
231-
<clang-tidy/checks/fuchsia-default-arguments-calls>` and
232-
:doc:`fuchsia-default-arguments-declarations
233-
<clang-tidy/checks/fuchsia-default-arguments-declarations>` checks
234-
respectively.
235-
236-
- The :doc:`google-runtime-int <clang-tidy/checks/google-runtime-int>`
237-
check has been disabled in Objective-C++.
238-
239-
- The :doc:`modernize-use-override
240-
<clang-tidy/checks/modernize-use-override>` now supports `OverrideSpelling`
241-
and `FinalSpelling` options.
242-
243-
- The :doc:`misc-throw-by-value-catch-by-reference
244-
<clang-tidy/checks/misc-throw-by-value-catch-by-reference>` now supports
245-
`WarnOnLargeObject` and `MaxSize` options to warn on any large trivial
246-
object caught by value.
247-
248-
- The `Acronyms` and `IncludeDefaultAcronyms` options for the
249-
:doc:`objc-property-declaration <clang-tidy/checks/objc-property-declaration>`
250-
check have been removed.
70+
The improvements are...
25171

25272
Improvements to include-fixer
25373
-----------------------------
@@ -267,5 +87,4 @@ The improvements are...
26787
Improvements to pp-trace
26888
------------------------
26989

270-
- Added a new option `-callbacks` to filter preprocessor callbacks. It replaces
271-
the `-ignore` option.
90+
The improvements are...

clang-tools-extra/docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
# built documents.
5050
#
5151
# The short version.
52-
version = '9'
52+
version = '10'
5353
# The full version, including alpha/beta/rc tags.
54-
release = '9'
54+
release = '10'
5555

5656
# The language for content autogenerated by Sphinx. Refer to documentation
5757
# for a list of supported languages.

0 commit comments

Comments
 (0)