[clang-tools-extra] r346176 - [clang-tidy] fix example code-blocks indendation

Jonas Toth via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 5 14:30:17 PST 2018


Author: jonastoth
Date: Mon Nov  5 14:30:17 2018
New Revision: 346176

URL: http://llvm.org/viewvc/llvm-project?rev=346176&view=rev
Log:
[clang-tidy] fix example code-blocks indendation

Modified:
    clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
    clang-tools-extra/trunk/docs/clang-tidy/checks/modernize-use-emplace.rst

Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst?rev=346176&r1=346175&r2=346176&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-special-member-functions.rst Mon Nov  5 14:30:17 2018
@@ -28,7 +28,7 @@ Options
    When set to `1` (default is `0`), this check doesn't flag classes with a sole, explicitly
    defaulted destructor. An example for such a class is:
    
-.. code-block:: c++
+   .. code-block:: c++
    
      struct A {
        virtual ~A() = default;
@@ -40,7 +40,7 @@ Options
    operations at all. It still flags classes which define only one of either
    move constructor or move assignment operator. With this option enabled, the following class won't be flagged:
    
-.. code-block:: c++
+   .. code-block:: c++
    
      struct A {
        A(const A&);

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=346176&r1=346175&r2=346176&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 Mon Nov  5 14:30:17 2018
@@ -107,7 +107,7 @@ Options
     When non-zero, the check will ignore implicitly constructed arguments of
     ``push_back``, e.g.
 
-.. code-block:: c++
+    .. code-block:: c++
 
         std::vector<std::string> v;
         v.push_back("a"); // Ignored when IgnoreImplicitConstructors is ``1``.




More information about the cfe-commits mailing list