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;


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;
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to