[PATCH] D22263: [clang-tidy] Fix syntax error in modernize-use-emplace.rst

Martin Böhme via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 01:59:56 PDT 2016


mboehme created this revision.
mboehme added a reviewer: alexfh.
mboehme added a subscriber: cfe-commits.

The missing newline after the ".. code:: c++" was causing a compile error when producing the documentation

http://reviews.llvm.org/D22263

Files:
  docs/clang-tidy/checks/modernize-use-emplace.rst

Index: docs/clang-tidy/checks/modernize-use-emplace.rst
===================================================================
--- docs/clang-tidy/checks/modernize-use-emplace.rst
+++ docs/clang-tidy/checks/modernize-use-emplace.rst
@@ -48,6 +48,7 @@
 In this case the calls of ``push_back`` won't be replaced.
 
 .. code:: c++
+
 	std::vector<std::unique_ptr<int> > v;
 	v.push_back(new int(5));
 	auto *ptr = int;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22263.63656.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160712/4d361ffd/attachment.bin>


More information about the cfe-commits mailing list