Extra Clang Tools 3.9 documentation

Extra Clang Tools 3.9 Release Notes

«  Introduction   ::   Contents   ::   Clang-Tidy  »

Extra Clang Tools 3.9 Release Notes

Written by the LLVM Team

Introduction

This document contains the release notes for the Extra Clang Tools, part of the Clang release 3.9. Here we describe the status of the Extra Clang Tools in some detail, including major improvements from the previous release and new feature work. For the general Clang release notes, see the Clang documentation. 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.

What’s New in Extra Clang Tools 3.9?

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.

Major New Features

  • clang-include-fixer, a tool that provides an automated way of adding #include directives for missing symbols in one translation unit.

    It aims to provide automated insertion of missing #includes with a single button press in an editor. Integration with Vim and a tool to generate the symbol index used by the tool are also part of this release. See the include-fixer documentation for more information.

Improvements to clang-tidy

clang-tidy‘s checks are constantly being improved to catch more issues, explain them more clearly, and provide more accurate fix-its for the issues identified. The improvements since the 3.8 release include:

Fixed bugs:

  • Crash when running on compile database with relative source files paths.
  • Crash when running with the -fdelayed-template-parsing flag.
  • The modernize-use-override check: incorrect fix-its placement around __declspec and other attributes.

Clang-tidy changes from 3.7 to 3.8

The 3.8 release didn’t include release notes for clang-tidy. In the 3.8 release many new checks have been added to clang-tidy:

«  Introduction   ::   Contents   ::   Clang-Tidy  »