Written by the LLVM Team
PreRelease
Warning
These are in-progress notes for the upcoming Extra Clang Tools 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 . 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.
For more information about Clang or LLVM, including information about the latest release, please see the Clang Web Site or the LLVM Web Site.
Note that if you are reading this file from a Git 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.
...
The improvements are...
The improvements are...
- New global configuration file options HeaderFileExtensions and ImplementationFileExtensions, replacing the check-local options of the same name.
New
bugprone-unsafe-functions <clang-tidy/checks/bugprone/unsafe-functions>
check.Checks for functions that have safer, more secure replacements available, or are considered deprecated due to design flaws. This check relies heavily on, but is not exclusive to, the functions from the Annex K. "Bounds-checking interfaces" of C11.
New
cppcoreguidelines-avoid-capture-default-when-capturing-this <clang-tidy/checks/cppcoreguidelines/avoid-capture-default-when-capturing-this>
check.Warns when lambda specify a capture default and capture
this
.New :doc: llvmlibc-inline-function-decl <clang-tidy/checks/llvmlibc/inline-function-decl> check.
Checks that all implicit and explicit inline functions in header files are tagged with the
LIBC_INLINE
macro.
- New alias
cert-msc24-c <clang-tidy/checks/cert/msc24-c>
tobugprone-unsafe-functions <clang-tidy/checks/bugprone/unsafe-functions>
was added. - New alias
cert-msc33-c <clang-tidy/checks/cert/msc33-c>
tobugprone-unsafe-functions <clang-tidy/checks/bugprone/unsafe-functions>
was added.
- Deprecated check-local options HeaderFileExtensions in
bugprone-dynamic-static-initializers <clang-tidy/checks/bugprone/dynamic-static-initializers>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions and ImplementationFileExtensions in
bugprone-suspicious-include <clang-tidy/checks/bugprone/suspicious-include>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions in
google-build-namespaces <clang-tidy/checks/google/build-namespaces>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions in
google-global-names-in-headers <clang-tidy/checks/google/global-names-in-headers>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions in
llvm-header-guard <clang-tidy/checks/llvm/header-guard>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions in
misc-definitions-in-headers <clang-tidy/checks/misc/definitions-in-headers>
check. Global options of the same name should be used instead. - Deprecated check-local options HeaderFileExtensions in
misc-unused-using-decls <clang-tidy/checks/misc/unused-using-decls>
check. Global options of the same name should be used instead. - Fixed reading HungarianNotation.CString.* options in
readability-identifier-naming <clang-tidy/checks/readability/identifier-naming>
check. - Fixed a false positive in
readability-container-size-empty <clang-tidy/checks/readability/container-size-empty>
check when comparingstd::array
objects to default constructed ones. The behavior for this and other relevant classes can now be configured with a new option.
The improvements are...
The improvements are...
The improvements are...