Extra Clang Tools 11.0.0 (In-Progress) Release Notes

Written by the LLVM Team

Warning

These are in-progress notes for the upcoming Extra Clang Tools 11 release. Release notes for previous releases can be found on the Download Page.

Introduction

This document contains the release notes for the Extra Clang Tools, part of the Clang release 11.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.

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.

What’s New in Extra Clang Tools 11.0.0?

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.

Improvements to clangd

The improvements are…

Improvements to clang-doc

The improvements are…

Improvements to clang-query

The improvements are…

Improvements to clang-rename

The improvements are…

Improvements to clang-tidy

New module

  • New module llvmlibc.

    This module contains checks related to the LLVM-libc coding standards.

New checks

Changes in existing checks

  • Improved performance-faster-string-find check.

    Now checks std::basic_string_view by default.

  • Improved readability-else-after-return check now supports a WarnOnConditionVariables option to control whether to refactor condition variables where possible.

  • Improved readability-identifier-naming check.

    Now able to rename member references in class template definitions with explicit access.

  • Improved readability-redundant-string-init check now supports a StringNames option enabling its application to custom string classes. The check now detects in class initializers and constructor initializers which are deemed to be redundant.

  • Checks supporting the HeaderFileExtensions flag now support ; as a delimiter in addition to ,, with the latter being deprecated as of this release. This simplifies how one specifies the options on the command line: --config="{CheckOptions: [{ key: HeaderFileExtensions, value: h;;hpp;hxx }]}"

  • Improved readability-qualified-auto check now supports a AddConstToQualified to enable adding const qualifiers to variables typed with auto * and auto &.

Renamed checks

Other improvements

  • For run-clang-tidy.py add option to use alpha checkers from clang-analyzer.

Improvements to include-fixer

The improvements are…

Improvements to clang-include-fixer

The improvements are…

Improvements to modularize

The improvements are…

Improvements to pp-trace

The improvements are…