Index: docs/ReleaseNotes.rst =================================================================== --- docs/ReleaseNotes.rst +++ docs/ReleaseNotes.rst @@ -63,11 +63,82 @@ explain them more clearly, and provide more accurate fix-its for the issues identified. The improvements since the 3.8 release include: +- New ``cert-env33-c`` check + + This check flags calls to ``system()``, ``popen()``, and ``_popen()``, which + execute a command processor. + +- New ``cert-flp30-c`` check + + This check flags ``for`` loops where the induction expression has a floating- + point type. + +- New ``cppcoreguidelines-pro-type-member-init`` check + + The check flags user-defined constructor definitions that do not initialize + all builtin and pointer fields which leaves their memory in an undefined + state. + +- New ``misc-dangling-handle`` check + + This check detects dangling references in value handlers like + `std::experimental::string_view`. + +- New ``misc-forward-declaration-namespace`` check + + This check checks if an unused forward declaration is in a wrong namespace. + +- New ``misc-misplaced-widening-cast`` check + + This check warns when there is a explicit redundant cast of a calculation + result to a bigger type. + +- New ``misc-suspicious-semicolon`` check + + This check finds most instances of stray semicolons that unexpectedly alter + the meaning of the code. + +- New ``modernize-deprecated-headers`` check + + This check replaces C standard library headers with their C++ alternatives. + - New ``modernize-raw-string-literal`` check This check selectively replaces string literals containing escaped characters with raw string literals. +- New ``performance-faster-string-find`` check + + Optimize calls to std::string::find() and friends when the needle passed is a + single character string literal. + +- New ``performance-implicit-cast-in-loop`` check + + This check warns about range-based loop with loop variable of const ref type + where the type of the variable does not match the one returned by the + iterator. + +- New ``performance-unnecessary-value-param`` check + + This check flags value parameter declarations of expensive to copy types that + are copied for each invocation but it would suffice to pass them by const + reference. + +- New ``readability-redundant-control-flow`` check + + This check looks for procedures (functions returning no value) with `return` + statements at the end of the function. Such `return` statements are + redundant. + +- New ``readability-redundant-string-init`` check + + This check finds unnecessary string initializations. + +Fixed bugs: + + Crash when ``clang-tidy`` runs on compile database with relative source files + paths. + Improvements to ``modularize`` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^