]> granicus.if.org Git - clang/commitdiff
[AttrDocs.td] Fix up some reST syntax.
authorSean Silva <chisophugis@gmail.com>
Wed, 17 Feb 2016 02:08:19 +0000 (02:08 +0000)
committerSean Silva <chisophugis@gmail.com>
Wed, 17 Feb 2016 02:08:19 +0000 (02:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261053 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index 015aec11d6dca9c19217682353ee814fdacc5f3b..8f24db0b25ce5953ba4c8b36d838e49f109fd32c 100644 (file)
@@ -1765,7 +1765,7 @@ The ``not_tail_called`` attribute prevents tail-call optimization on statically
 
 For example, it prevents tail-call optimization in the following case:
 
-  .. code-block: c
+  .. code-block:: c
 
     int __attribute__((not_tail_called)) foo1(int);
 
@@ -1775,7 +1775,7 @@ For example, it prevents tail-call optimization in the following case:
 
 However, it doesn't prevent tail-call optimization in this case:
 
-  .. code-block: c
+  .. code-block:: c
 
     int __attribute__((not_tail_called)) foo1(int);
 
@@ -1789,7 +1789,7 @@ However, it doesn't prevent tail-call optimization in this case:
 
 Marking virtual functions as ``not_tail_called`` is an error:
 
-  .. code-block: c++
+  .. code-block:: c++
 
     class Base {
     public:
@@ -1839,7 +1839,7 @@ For example:
 
 Marking virtual functions as ``disable_tail_calls`` is legal.
 
-  .. code-block: c++
+  .. code-block:: c++
 
     int callee(int);