=================================================== Extra Clang Tools 4.0.0 (In-Progress) Release Notes =================================================== .. contents:: :local: :depth: 3 Written by the `LLVM Team `_ .. warning:: These are in-progress notes for the upcoming Extra Clang Tools 4.0 release. You may prefer the `Extra Clang Tools 3.9 Release Notes `_. Introduction ============ This document contains the release notes for the Extra Clang Tools, part of the Clang release 4.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 Subversion 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 4.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. Major New Features ------------------ ... Improvements to clang-query --------------------------- The improvements are... Improvements to clang-rename ---------------------------- - Emacs integration was added. Improvements to clang-tidy -------------------------- - New `cppcoreguidelines-slicing `_ check Flags slicing of member variables or vtable. - New `cppcoreguidelines-special-member-functions `_ check Flags classes where some, but not all, special member functions are user-defined. - New `misc-move-forwarding-reference `_ check Warns when ``std::move`` is applied to a forwarding reference instead of ``std::forward``. - New `misc-use-after-move `_ check Warns if an object is used after it has been moved, without an intervening reinitialization. - New `mpi-buffer-deref `_ check Flags buffers which are insufficiently dereferenced when passed to an MPI function call. - New `mpi-type-mismatch `_ check Flags MPI function calls with a buffer type and MPI data type mismatch. - New `performance-inefficient-string-concatenation `_ check Warns about the performance overhead arising from concatenating strings using the ``operator+``, instead of ``operator+=``. - `readability-container-size-empty `_ check supports arbitrary containers with with suitable ``empty()`` and ``size()`` methods. - New `readability-misplaced-array-index `_ check Warns when there is array index before the [] instead of inside it. - New `readability-non-const-parameter `_ check Flags function parameters of a pointer type that could be changed to point to a constant type instead. - New `readability-redundant-member-init `_ check Flags member initializations that are unnecessary because the same default constructor would be called if they were not present. Fixed bugs: - `modernize-make-unique `_ and `modernize-make-shared `_ Calling ``make_{unique|shared}`` from within a member function of a type with a private or protected constructor would be ill-formed. Improvements to include-fixer ----------------------------- - Emacs integration was added. Improvements to modularize -------------------------- The improvements are...