Extra Clang Tools 12.0.0 (In-Progress) Release Notes

Written by the LLVM Team

Warning

These are in-progress notes for the upcoming Extra Clang Tools 12 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 12.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 12.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 IgnoreImplicitCastsAndParentheses traversal mode has been removed.

Improvements to clang-rename

The improvements are…

Improvements to clang-tidy

New modules

  • New altera module.

    Includes checks related to OpenCL for FPGA coding guidelines, based on the Altera SDK for OpenCL: Best Practices Guide.

  • New concurrency module.

    Includes checks related to concurrent programming (e.g. threads, fibers, coroutines, etc.).

New checks

Changes in existing checks

  • Improved modernize-loop-convert check.

    Now able to transform iterator loops using rbegin and rend methods.

  • Improved readability-identifier-naming check.

    Added an option GetConfigPerFile to support including files which use different naming styles.

    Now renames overridden virtual methods if the method they override has a style violation.

    Added support for specifying the style of scoped enum constants. If unspecified, will fall back to the style for regular enum constants.

    Added an option IgnoredRegexp per identifier type to suppress identifier naming checks for names matching a regular expression.

  • Removed google-runtime-references check because the rule it checks does not exist in the Google Style Guide anymore.

  • Improved readability-redundant-string-init check.

    Added std::basic_string_view to default list of string-like types.

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…