r268749 - More fixes to codeblock formatting in documentation.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 09:48:29 PDT 2016


Author: rsmith
Date: Fri May  6 11:48:29 2016
New Revision: 268749

URL: http://llvm.org/viewvc/llvm-project?rev=268749&view=rev
Log:
More fixes to codeblock formatting in documentation.

Modified:
    cfe/trunk/docs/ReleaseNotes.rst

Modified: cfe/trunk/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=268749&r1=268748&r2=268749&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Fri May  6 11:48:29 2016
@@ -129,9 +129,9 @@ Changes to C++1z features since Clang 3.
 
   .. code-block:: c++
 
-  struct A { int n; };
-  struct B : A { int x, y; };
-  B b = { 1, 2, 3 }; // b.n == 1, b.x == 2, b.y == 3
+    struct A { int n; };
+    struct B : A { int x, y; };
+    B b = { 1, 2, 3 }; // b.n == 1, b.x == 2, b.y == 3
 
 - The range in a range-based ``for`` statement can have different types for its ``begin``
   and ``end`` iterators. This is permitted as an extension in C++11 onwards.




More information about the cfe-commits mailing list