Skip to content

Commit

Permalink
s/codeblock/code-block to fix the Sphinx build.
Browse files Browse the repository at this point in the history
llvm-svn: 268728
  • Loading branch information
AaronBallman committed May 6, 2016
1 parent ba0d754 commit dc76a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand All @@ -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; };
Expand Down

0 comments on commit dc76a4d

Please sign in to comment.