From: Richard Smith Date: Fri, 6 May 2016 16:48:29 +0000 (+0000) Subject: More fixes to codeblock formatting in documentation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43045a38e2644deaf0eb308028554404762cb821;p=clang More fixes to codeblock formatting in documentation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268749 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index a4c5c62b00..0e47851425 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -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.