2016-07-19 02:08:59 +08:00
|
|
|
===================================================
|
2017-01-13 05:58:40 +08:00
|
|
|
Extra Clang Tools 5.0.0 (In-Progress) Release Notes
|
2016-07-19 02:08:59 +08:00
|
|
|
===================================================
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
:local:
|
2016-03-30 20:05:33 +08:00
|
|
|
:depth: 3
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
Written by the `LLVM Team <http://llvm.org/>`_
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
2017-01-13 05:58:40 +08:00
|
|
|
These are in-progress notes for the upcoming Extra Clang Tools 5 release.
|
2017-02-10 07:25:52 +08:00
|
|
|
Release notes for previous releases can be found on
|
|
|
|
`the Download Page <http://releases.llvm.org/download.html>`_.
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
|
|
|
This document contains the release notes for the Extra Clang Tools, part of the
|
2017-01-13 05:58:40 +08:00
|
|
|
Clang release 5.0.0. Here we describe the status of the Extra Clang Tools in
|
2016-09-07 01:52:44 +08:00
|
|
|
some detail, including major improvements from the previous release and new
|
|
|
|
feature work. All LLVM releases may be downloaded from the `LLVM releases web
|
2016-03-27 13:06:57 +08:00
|
|
|
site <http://llvm.org/releases/>`_.
|
|
|
|
|
|
|
|
For more information about Clang or LLVM, including information about
|
|
|
|
the latest release, please see the `Clang Web Site <http://clang.llvm.org>`_ or
|
|
|
|
the `LLVM Web Site <http://llvm.org>`_.
|
|
|
|
|
|
|
|
Note that if you are reading this file from a Subversion checkout or the
|
|
|
|
main Clang web page, this document applies to the *next* release, not
|
|
|
|
the current one. To see the release notes for a specific release, please
|
|
|
|
see the `releases page <http://llvm.org/releases/>`_.
|
|
|
|
|
2017-01-13 05:58:40 +08:00
|
|
|
What's New in Extra Clang Tools 5.0.0?
|
2016-07-19 02:08:59 +08:00
|
|
|
======================================
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
Some of the major new features and improvements to Extra Clang Tools are listed
|
|
|
|
here. Generic improvements to Extra Clang Tools as a whole or to its underlying
|
|
|
|
infrastructure are described first, followed by tool-specific sections.
|
|
|
|
|
|
|
|
Major New Features
|
|
|
|
------------------
|
|
|
|
|
2016-07-19 02:08:59 +08:00
|
|
|
...
|
2016-03-27 13:06:57 +08:00
|
|
|
|
2016-03-30 20:05:33 +08:00
|
|
|
Improvements to clang-query
|
|
|
|
---------------------------
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
The improvements are...
|
|
|
|
|
2016-03-30 20:05:33 +08:00
|
|
|
Improvements to clang-rename
|
|
|
|
----------------------------
|
2016-03-27 13:06:57 +08:00
|
|
|
|
2017-01-13 05:58:40 +08:00
|
|
|
The improvements are...
|
2016-03-27 13:06:57 +08:00
|
|
|
|
2016-03-30 20:05:33 +08:00
|
|
|
Improvements to clang-tidy
|
|
|
|
--------------------------
|
2016-03-27 13:06:57 +08:00
|
|
|
|
2017-02-17 16:52:51 +08:00
|
|
|
- New `cert-dcl58-cpp
|
|
|
|
<http://clang.llvm.org/extra/clang-tidy/checks/cert-dcl58-cpp.html>`_ check
|
|
|
|
|
|
|
|
Finds modification of the ``std`` or ``posix`` namespace.
|
|
|
|
|
2017-02-14 18:03:27 +08:00
|
|
|
- New `readability-misleading-indentation
|
|
|
|
<http://clang.llvm.org/extra/clang-tidy/checks/readability-misleading-indentation.html>`_ check
|
|
|
|
|
|
|
|
Finds misleading indentation where braces should be introduced or the code should be reformatted.
|
|
|
|
|
2017-03-01 18:17:32 +08:00
|
|
|
- Added `ParameterThreshold` to `readability-function-size`.
|
|
|
|
|
|
|
|
Finds functions that have more then `ParameterThreshold` parameters and emits a warning.
|
|
|
|
|
[clang-tidy] safety-no-assembler
Summary:
Add a new clang-tidy module for safety-critical checks.
Include a check for inline assembler.
Reviewers: Prazek, dtarditi, malcolm.parsons, alexfh, aaron.ballman, idlecode
Reviewed By: idlecode
Subscribers: idlecode, JonasToth, Eugene.Zelenko, mgorny, JDevlieghere, cfe-commits
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D29267
llvm-svn: 294255
2017-02-07 06:57:14 +08:00
|
|
|
- New `safety-no-assembler
|
|
|
|
<http://clang.llvm.org/extra/clang-tidy/checks/safety-no-assembler.html>`_ check
|
|
|
|
|
|
|
|
Finds uses of inline assembler.
|
2016-08-31 08:06:55 +08:00
|
|
|
|
2017-02-16 01:06:06 +08:00
|
|
|
- New `modernize-return-braced-init-list
|
2017-02-16 01:19:44 +08:00
|
|
|
<http://clang.llvm.org/extra/clang-tidy/checks/modernize-return-braced-init-list.html>`_ check
|
2017-02-16 01:06:06 +08:00
|
|
|
|
|
|
|
Finds and replaces explicit calls to the constructor in a return statement by
|
|
|
|
a braced initializer list so that the return type is not needlessly repeated.
|
|
|
|
|
2016-07-22 08:34:42 +08:00
|
|
|
Improvements to include-fixer
|
|
|
|
-----------------------------
|
2016-03-30 20:05:33 +08:00
|
|
|
|
2017-01-13 05:58:40 +08:00
|
|
|
The improvements are...
|
2016-03-30 20:05:33 +08:00
|
|
|
|
|
|
|
Improvements to modularize
|
|
|
|
--------------------------
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
The improvements are...
|