2016-07-19 02:08:59 +08:00
|
|
|
===================================================
|
2018-08-01 22:09:00 +08:00
|
|
|
Extra Clang Tools 8.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
|
|
|
|
2018-09-10 16:52:04 +08:00
|
|
|
Written by the `LLVM Team <https://llvm.org/>`_
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
.. warning::
|
|
|
|
|
2018-08-01 22:09:00 +08:00
|
|
|
These are in-progress notes for the upcoming Extra Clang Tools 8 release.
|
2017-02-10 07:25:52 +08:00
|
|
|
Release notes for previous releases can be found on
|
2018-09-10 16:52:04 +08:00
|
|
|
`the Download Page <https://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
|
2018-08-01 22:09:00 +08:00
|
|
|
Clang release 8.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
|
2018-09-10 16:52:04 +08:00
|
|
|
site <https://llvm.org/releases/>`_.
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
For more information about Clang or LLVM, including information about
|
2018-09-10 16:52:04 +08:00
|
|
|
the latest release, please see the `Clang Web Site <https://clang.llvm.org>`_ or
|
|
|
|
the `LLVM Web Site <https://llvm.org>`_.
|
2016-03-27 13:06:57 +08:00
|
|
|
|
|
|
|
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
|
2018-09-10 16:52:04 +08:00
|
|
|
see the `releases page <https://llvm.org/releases/>`_.
|
2016-03-27 13:06:57 +08:00
|
|
|
|
2018-08-01 22:09:00 +08:00
|
|
|
What's New in Extra Clang Tools 8.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
|
|
|
|
2018-08-17 23:19:19 +08:00
|
|
|
- New :doc:`abseil-duration-division
|
|
|
|
<clang-tidy/checks/abseil-duration-division>` check.
|
|
|
|
|
|
|
|
Checks for uses of ``absl::Duration`` division that is done in a
|
|
|
|
floating-point context, and recommends the use of a function that
|
|
|
|
returns a floating-point value.
|
|
|
|
|
2018-08-22 21:58:25 +08:00
|
|
|
- New :doc:`abseil-faster-strsplit-delimiter
|
|
|
|
<clang-tidy/checks/abseil-faster-strsplit-delimiter>` check.
|
|
|
|
|
|
|
|
Finds instances of ``absl::StrSplit()`` or ``absl::MaxSplits()`` where the
|
|
|
|
delimiter is a single character string literal and replaces with a character.
|
|
|
|
|
2018-08-29 22:23:15 +08:00
|
|
|
- New :doc:`abseil-no-internal-dependencies
|
|
|
|
<clang-tidy/checks/abseil-no-internal-dependencies>` check.
|
|
|
|
|
|
|
|
Gives a warning if code using Abseil depends on internal details.
|
|
|
|
|
2018-08-28 15:48:28 +08:00
|
|
|
- New :doc:`abseil-no-namespace
|
|
|
|
<clang-tidy/checks/abseil-no-namespace>` check.
|
|
|
|
|
|
|
|
Ensures code does not open ``namespace absl`` as that violates Abseil's
|
|
|
|
compatibility guidelines.
|
|
|
|
|
2018-08-29 19:29:07 +08:00
|
|
|
- New :doc:`abseil-redundant-strcat-calls
|
|
|
|
<clang-tidy/checks/abseil-redundant-strcat-calls>` check.
|
|
|
|
|
|
|
|
Suggests removal of unnecessary calls to ``absl::StrCat`` when the result is
|
|
|
|
being passed to another ``absl::StrCat`` or ``absl::StrAppend``.
|
|
|
|
|
2018-08-29 19:17:31 +08:00
|
|
|
- New :doc:`abseil-str-cat-append
|
|
|
|
<clang-tidy/checks/abseil-str-cat-append>` check.
|
|
|
|
|
|
|
|
Flags uses of ``absl::StrCat()`` to append to a ``std::string``. Suggests
|
|
|
|
``absl::StrAppend()`` should be used instead.
|
|
|
|
|
2018-08-12 22:35:13 +08:00
|
|
|
- New :doc:`readability-magic-numbers
|
|
|
|
<clang-tidy/checks/readability-magic-numbers>` check.
|
|
|
|
|
2018-08-14 01:55:48 +08:00
|
|
|
Detects usage of magic numbers, numbers that are used as literals instead of
|
2018-08-12 22:35:13 +08:00
|
|
|
introduced via constants or symbols.
|
|
|
|
|
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...
|