From dc76a4db0f55283daaa34bf2db1cbff670be75c1 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 6 May 2016 11:56:57 +0000 Subject: [PATCH] s/codeblock/code-block to fix the Sphinx build. llvm-svn: 268728 --- clang/docs/ReleaseNotes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 1b1437e1c33c..a4c5c62b000b 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -94,7 +94,7 @@ C++ Language Changes in Clang - Clang now enforces the rule that a *using-declaration* cannot name an enumerator of a scoped enumeration. - .. codeblock:: c++ + .. code-block:: c++ namespace Foo { enum class E { e }; } namespace Bar { @@ -105,7 +105,7 @@ C++ Language Changes in Clang - Clang now enforces the rule that an enumerator of an unscoped enumeration declared at class scope can only be named by a *using-declaration* in a derived class. - .. codeblock:: c++ + .. code-block:: c++ class Foo { enum E { e }; } using Foo::e; // error @@ -127,7 +127,7 @@ Changes to C++1z features since Clang 3.8: - In C++1z mode, aggregate initialization can be performed for classes with base classes: - .. codeblock:: c++ + .. code-block:: c++ struct A { int n; }; struct B : A { int x, y; };