annotate clang-tools-extra/docs/ReleaseNotes.rst @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ====================================================
anatofuz
parents:
diff changeset
2 Extra Clang Tools 11.0.0 (In-Progress) Release Notes
anatofuz
parents:
diff changeset
3 ====================================================
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 .. contents::
anatofuz
parents:
diff changeset
6 :local:
anatofuz
parents:
diff changeset
7 :depth: 3
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 Written by the `LLVM Team <https://llvm.org/>`_
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 .. warning::
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 These are in-progress notes for the upcoming Extra Clang Tools 11 release.
anatofuz
parents:
diff changeset
14 Release notes for previous releases can be found on
anatofuz
parents:
diff changeset
15 `the Download Page <https://releases.llvm.org/download.html>`_.
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 Introduction
anatofuz
parents:
diff changeset
18 ============
anatofuz
parents:
diff changeset
19
anatofuz
parents:
diff changeset
20 This document contains the release notes for the Extra Clang Tools, part of the
anatofuz
parents:
diff changeset
21 Clang release 11.0.0. Here we describe the status of the Extra Clang Tools in
anatofuz
parents:
diff changeset
22 some detail, including major improvements from the previous release and new
anatofuz
parents:
diff changeset
23 feature work. All LLVM releases may be downloaded from the `LLVM releases web
anatofuz
parents:
diff changeset
24 site <https://llvm.org/releases/>`_.
anatofuz
parents:
diff changeset
25
anatofuz
parents:
diff changeset
26 For more information about Clang or LLVM, including information about
anatofuz
parents:
diff changeset
27 the latest release, please see the `Clang Web Site <https://clang.llvm.org>`_ or
anatofuz
parents:
diff changeset
28 the `LLVM Web Site <https://llvm.org>`_.
anatofuz
parents:
diff changeset
29
anatofuz
parents:
diff changeset
30 Note that if you are reading this file from a Git checkout or the
anatofuz
parents:
diff changeset
31 main Clang web page, this document applies to the *next* release, not
anatofuz
parents:
diff changeset
32 the current one. To see the release notes for a specific release, please
anatofuz
parents:
diff changeset
33 see the `releases page <https://llvm.org/releases/>`_.
anatofuz
parents:
diff changeset
34
anatofuz
parents:
diff changeset
35 What's New in Extra Clang Tools 11.0.0?
anatofuz
parents:
diff changeset
36 =======================================
anatofuz
parents:
diff changeset
37
anatofuz
parents:
diff changeset
38 Some of the major new features and improvements to Extra Clang Tools are listed
anatofuz
parents:
diff changeset
39 here. Generic improvements to Extra Clang Tools as a whole or to its underlying
anatofuz
parents:
diff changeset
40 infrastructure are described first, followed by tool-specific sections.
anatofuz
parents:
diff changeset
41
anatofuz
parents:
diff changeset
42 Major New Features
anatofuz
parents:
diff changeset
43 ------------------
anatofuz
parents:
diff changeset
44
anatofuz
parents:
diff changeset
45 ...
anatofuz
parents:
diff changeset
46
anatofuz
parents:
diff changeset
47 Improvements to clangd
anatofuz
parents:
diff changeset
48 ----------------------
anatofuz
parents:
diff changeset
49
anatofuz
parents:
diff changeset
50 The improvements are...
anatofuz
parents:
diff changeset
51
anatofuz
parents:
diff changeset
52 Improvements to clang-doc
anatofuz
parents:
diff changeset
53 -------------------------
anatofuz
parents:
diff changeset
54
anatofuz
parents:
diff changeset
55 The improvements are...
anatofuz
parents:
diff changeset
56
anatofuz
parents:
diff changeset
57 Improvements to clang-query
anatofuz
parents:
diff changeset
58 ---------------------------
anatofuz
parents:
diff changeset
59
anatofuz
parents:
diff changeset
60 The improvements are...
anatofuz
parents:
diff changeset
61
anatofuz
parents:
diff changeset
62 Improvements to clang-rename
anatofuz
parents:
diff changeset
63 ----------------------------
anatofuz
parents:
diff changeset
64
anatofuz
parents:
diff changeset
65 The improvements are...
anatofuz
parents:
diff changeset
66
anatofuz
parents:
diff changeset
67 Improvements to clang-tidy
anatofuz
parents:
diff changeset
68 --------------------------
anatofuz
parents:
diff changeset
69
anatofuz
parents:
diff changeset
70 New checks
anatofuz
parents:
diff changeset
71 ^^^^^^^^^^
anatofuz
parents:
diff changeset
72
anatofuz
parents:
diff changeset
73 - New :doc:`bugprone-misplaced-pointer-arithmetic-in-alloc
anatofuz
parents:
diff changeset
74 <clang-tidy/checks/bugprone-misplaced-pointer-arithmetic-in-alloc>` check.
anatofuz
parents:
diff changeset
75
anatofuz
parents:
diff changeset
76 Finds cases where an integer expression is added to or subtracted from the
anatofuz
parents:
diff changeset
77 result of a memory allocation function (``malloc()``, ``calloc()``,
anatofuz
parents:
diff changeset
78 ``realloc()``, ``alloca()``) instead of its argument.
anatofuz
parents:
diff changeset
79
anatofuz
parents:
diff changeset
80 - New :doc:`bugprone-reserved-identifier
anatofuz
parents:
diff changeset
81 <clang-tidy/checks/bugprone-reserved-identifier>` check.
anatofuz
parents:
diff changeset
82
anatofuz
parents:
diff changeset
83 Checks for usages of identifiers reserved for use by the implementation.
anatofuz
parents:
diff changeset
84
anatofuz
parents:
diff changeset
85 - New :doc:`cert-oop57-cpp
anatofuz
parents:
diff changeset
86 <clang-tidy/checks/cert-oop57-cpp>` check.
anatofuz
parents:
diff changeset
87
anatofuz
parents:
diff changeset
88 Flags use of the `C` standard library functions ``memset``, ``memcpy`` and
anatofuz
parents:
diff changeset
89 ``memcmp`` and similar derivatives on non-trivial types.
anatofuz
parents:
diff changeset
90
anatofuz
parents:
diff changeset
91 - New :doc:`objc-dealloc-in-category
anatofuz
parents:
diff changeset
92 <clang-tidy/checks/objc-dealloc-in-category>` check.
anatofuz
parents:
diff changeset
93
anatofuz
parents:
diff changeset
94 Finds implementations of -dealloc in Objective-C categories.
anatofuz
parents:
diff changeset
95
anatofuz
parents:
diff changeset
96 New check aliases
anatofuz
parents:
diff changeset
97 ^^^^^^^^^^^^^^^^^
anatofuz
parents:
diff changeset
98
anatofuz
parents:
diff changeset
99 - New alias :doc:`cert-dcl37-c
anatofuz
parents:
diff changeset
100 <clang-tidy/checks/cert-dcl37-c>` to
anatofuz
parents:
diff changeset
101 :doc:`bugprone-reserved-identifier
anatofuz
parents:
diff changeset
102 <clang-tidy/checks/bugprone-reserved-identifier>` was added.
anatofuz
parents:
diff changeset
103
anatofuz
parents:
diff changeset
104 - New alias :doc:`cert-dcl51-cpp
anatofuz
parents:
diff changeset
105 <clang-tidy/checks/cert-dcl51-cpp>` to
anatofuz
parents:
diff changeset
106 :doc:`bugprone-reserved-identifier
anatofuz
parents:
diff changeset
107 <clang-tidy/checks/bugprone-reserved-identifier>` was added.
anatofuz
parents:
diff changeset
108
anatofuz
parents:
diff changeset
109 Changes in existing checks
anatofuz
parents:
diff changeset
110 ^^^^^^^^^^^^^^^^^^^^^^^^^^
anatofuz
parents:
diff changeset
111
anatofuz
parents:
diff changeset
112 - Improved :doc:`readability-qualified-auto
anatofuz
parents:
diff changeset
113 <clang-tidy/checks/readability-qualified-auto>` check now supports a
anatofuz
parents:
diff changeset
114 `AddConstToQualified` to enable adding ``const`` qualifiers to variables
anatofuz
parents:
diff changeset
115 typed with ``auto *`` and ``auto &``.
anatofuz
parents:
diff changeset
116
anatofuz
parents:
diff changeset
117 - Improved :doc:`readability-redundant-string-init
anatofuz
parents:
diff changeset
118 <clang-tidy/checks/readability-redundant-string-init>` check now supports a
anatofuz
parents:
diff changeset
119 `StringNames` option enabling its application to custom string classes. The
anatofuz
parents:
diff changeset
120 check now detects in class initializers and constructor initializers which
anatofuz
parents:
diff changeset
121 are deemed to be redundant.
anatofuz
parents:
diff changeset
122
anatofuz
parents:
diff changeset
123 Renamed checks
anatofuz
parents:
diff changeset
124 ^^^^^^^^^^^^^^
anatofuz
parents:
diff changeset
125
anatofuz
parents:
diff changeset
126
anatofuz
parents:
diff changeset
127 Improvements to include-fixer
anatofuz
parents:
diff changeset
128 -----------------------------
anatofuz
parents:
diff changeset
129
anatofuz
parents:
diff changeset
130 The improvements are...
anatofuz
parents:
diff changeset
131
anatofuz
parents:
diff changeset
132 Improvements to clang-include-fixer
anatofuz
parents:
diff changeset
133 -----------------------------------
anatofuz
parents:
diff changeset
134
anatofuz
parents:
diff changeset
135 The improvements are...
anatofuz
parents:
diff changeset
136
anatofuz
parents:
diff changeset
137 Improvements to modularize
anatofuz
parents:
diff changeset
138 --------------------------
anatofuz
parents:
diff changeset
139
anatofuz
parents:
diff changeset
140 The improvements are...
anatofuz
parents:
diff changeset
141
anatofuz
parents:
diff changeset
142 Improvements to pp-trace
anatofuz
parents:
diff changeset
143 ------------------------
anatofuz
parents:
diff changeset
144
anatofuz
parents:
diff changeset
145 The improvements are...
anatofuz
parents:
diff changeset
146
anatofuz
parents:
diff changeset
147 Clang-tidy visual studio plugin
anatofuz
parents:
diff changeset
148 -------------------------------
anatofuz
parents:
diff changeset
149