]> granicus.if.org Git - clang/commitdiff
More fixes to codeblock formatting in documentation.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 May 2016 16:48:29 +0000 (16:48 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 May 2016 16:48:29 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268749 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index a4c5c62b000b2ef2de560967a67ce04f5ba15665..0e478514259582790d0f804af5c4cdb24b0fa6b5 100644 (file)
@@ -129,9 +129,9 @@ Changes to C++1z features since Clang 3.8:
 
   .. 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.