Author: eugenezelenko Date: Thu Aug 18 17:11:27 2016 New Revision: 279170 URL: http://llvm.org/viewvc/llvm-project?rev=279170&view=rev Log: [Documentation] Fixed style in modernize-use-emplace.rst.
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst 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=279170&r1=279169&r2=279170&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 18 17:11:27 2016 @@ -57,9 +57,8 @@ After: v.emplace_back("abc"); -In some cases the transformation would be valid, but the code -wouldn't be exception safe. -In this case the calls of ``push_back`` won't be replaced. +In some cases the transformation would be valid, but the code wouldn't be +exception safe. In this case the calls of ``push_back`` won't be replaced. .. code-block:: c++ @@ -73,7 +72,7 @@ pointer if ``emplace_back`` would throw enough memory to add new element). For more info read item 42 - "Consider emplacement instead of insertion." of -Scott Meyers Effective Modern C++. +Scott Meyers "Effective Modern C++". The default smart pointers that are considered are ``std::unique_ptr``, ``std::shared_ptr``, ``std::auto_ptr``. To specify other smart pointers or _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits