Author: alexfh Date: Thu Aug 10 05:54:05 2017 New Revision: 310587 URL: http://llvm.org/viewvc/llvm-project?rev=310587&view=rev Log: [clang-tidy] Updated docs and release notes for r310584
Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst Modified: clang-tools-extra/trunk/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/ReleaseNotes.rst?rev=310587&r1=310586&r2=310587&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/ReleaseNotes.rst (original) +++ clang-tools-extra/trunk/docs/ReleaseNotes.rst Thu Aug 10 05:54:05 2017 @@ -57,26 +57,29 @@ The improvements are... Improvements to clang-tidy -------------------------- -* Renamed checks to use correct term "implicit conversion" instead of "implicit +- Renamed checks to use correct term "implicit conversion" instead of "implicit cast" and modified messages and option names accordingly: - - **performance-implicit-cast-in-loop** was renamed to + * **performance-implicit-cast-in-loop** was renamed to `performance-implicit-conversion-in-loop <http://clang.llvm.org/extra/clang-tidy/checks/performance-implicit-conversion-in-loop.html>`_ - - **readability-implicit-bool-cast** was renamed to + * **readability-implicit-bool-cast** was renamed to `readability-implicit-bool-conversion <http://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html>`_; the check's options were renamed as follows: ``AllowConditionalIntegerCasts`` -> ``AllowIntegerConditions``, ``AllowConditionalPointerCasts`` -> ``AllowPointerConditions``. - - New `readability-static-accessed-through-instance <http://clang.llvm.org/extra/clang-tidy/checks/readability-static-accessed-through-instance.html>`_ check Finds member expressions that access static members through instances and replaces them with uses of the appropriate qualified-id. +- Added `modernize-use-emplace.IgnoreImplicitConstructors + <http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-emplace.html#cmdoption-arg-IgnoreImplicitConstructors>`_ + option. + Improvements to include-fixer ----------------------------- Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst?rev=310587&r1=310586&r2=310587&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst Thu Aug 10 05:54:05 2017 @@ -102,6 +102,18 @@ Options Semicolon-separated list of class names of custom containers that support ``push_back``. +.. option:: IgnoreImplicitConstructors + + When non-zero, the check will ignore implicitly constructed arguments of + ``push_back``, e.g. + + .. code-block:: c++ + + std::vector<std::string> v; + v.push_back("a"); // Ignored when IgnoreImplicitConstructors is ``1``. + + Default is ``0``. + .. option:: SmartPointers Semicolon-separated list of class names of custom smart pointers. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits