Skip to content

Latest commit

 

History

History
424 lines (313 loc) · 16.7 KB

ReleaseNotes.rst

File metadata and controls

424 lines (313 loc) · 16.7 KB

Extra Clang Tools |release| |ReleaseNotesTitle|

Written by the LLVM Team

.. only:: PreRelease

  .. warning::
     These are in-progress notes for the upcoming Extra Clang Tools |version| release.
     Release notes for previous releases can be found on
     `the Download Page <https://releases.llvm.org/download.html>`_.

This document contains the release notes for the Extra Clang Tools, part of the Clang release |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 clang-pseudo tool is incomplete and does not have active maintainers, so it has been removed. See the RFC for more details.

...

  • Added DefaultArguments Inlay Hints option.
  • Added completion for C++20 keywords.
  • Added Swap operands tweak for certain binary operators.
  • Improved the extract-to-function code action to allow extracting statements with overloaded operators like << of std::ostream.
  • The DefineOutline tweak now handles member functions of class templates.
  • Added set enable-profile true/false command for basic matcher profiling.
  • Improved :program:`run-clang-tidy.py` script. Fixed minor shutdown noise happening on certain platforms when interrupting the script.
  • Improved :program:`clang-tidy`:
    • add support for --verify-config flag to check the configuration options of the Clang Static Analyzer Checks.
    • accept parameters file in command line.
    • fix incorrect configuration file path resolving when file paths contain ...
    • remove global options for most of checks. All options are changed to local options except IncludeStyle, StrictMode and IgnoreMacros. Global scoped StrictMode and IgnoreMacros are deprecated and will be removed in further releases.
Check Options removed from global option
:doc:`bugprone-reserved-identifier <clang-tidy/checks/bugprone/reserved-identifier>` AggressiveDependentMemberLookup
:doc:`bugprone-unchecked-optional-access <clang-tidy/checks/bugprone/unchecked-optional-access>` IgnoreSmartPointerDereference
:doc:`cppcoreguidelines-pro-type-member-init <clang-tidy/checks/cppcoreguidelines/pro-type-member-init>` UseAssignment
:doc:`cppcoreguidelines-rvalue-reference-param-not-moved <clang-tidy/checks/cppcoreguidelines/rvalue-reference-param-not-moved>` AllowPartialMove; IgnoreUnnamedParams; IgnoreNonDeducedTemplateTypes
:doc:`misc-include-cleaner <clang-tidy/checks/misc/include-cleaner>` IgnoreHeaders; DeduplicateFindings
:doc:`performance-inefficient-vector-operation <clang-tidy/checks/performance/inefficient-vector-operation>` EnableProto
:doc:`readability-identifier-naming <clang-tidy/checks/readability/identifier-naming>` AggressiveDependentMemberLookup
:doc:`readability-inconsistent-declaration-parameter-name <clang-tidy/checks/readability/inconsistent-declaration-parameter-name>` Strict
:doc:`readability-redundant-access-specifiers <clang-tidy/checks/readability/redundant-access-specifiers>` CheckFirstDeclaration
:doc:`readability-redundant-casting <clang-tidy/checks/readability/redundant-casting>` IgnoreTypeAliases

The improvements are...

The improvements are...

The improvements are...