Skip to content
Snippets Groups Projects
Commit 64a28c45 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

s/codeblock/code-block to fix the Sphinx build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268728 91177308-0d34-0410-b5e6-96231b3b80d8
parent 7fd0aa52
No related branches found
No related tags found
No related merge requests found
......@@ -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; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment