Extra Clang Tools 5.0.0 (In-Progress) Release Notes¶
Written by the LLVM Team
These are in-progress notes for the upcoming Extra Clang Tools 5 release. Release notes for previous releases can be found on the Download Page.
This document contains the release notes for the Extra Clang Tools, part of the Clang release 5.0.0. Here we describe the status of the Extra Clang Tools in some detail, including major improvements from the previous release and new feature work. All LLVM releases may be downloaded from the LLVM releases web site.
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.
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.
New cert-dcl58-cpp check
Finds modification of the
Improved cppcoreguidelines-no-malloc check
Allow custom memory management functions to be considered as well.
New readability-misleading-indentation check
Finds misleading indentation where braces should be introduced or the code should be reformatted.
Added ParameterThreshold to readability-function-size.
Finds functions that have more then ParameterThreshold parameters and emits a warning.
New safety-no-assembler check
Finds uses of inline assembler.
New modernize-return-braced-init-list check
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.
Support clang-formatting of the code around applied fixes (