summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools/dump_format_style.py
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-10-07 13:02:45 +0000
committerDaniel Jasper <djasper@google.com>2015-10-07 13:02:45 +0000
commit8e1ecca2ecbc8f95106c95e0fb6f16ff0f4e57f8 (patch)
treef3a9e05f97cb3133db1a57408c103c91b9f177a0 /clang/docs/tools/dump_format_style.py
parentf2addf8905aadfc8c1e214c2c63a3b1b14e29d8b (diff)
downloadbcm5719-llvm-8e1ecca2ecbc8f95106c95e0fb6f16ff0f4e57f8.tar.gz
bcm5719-llvm-8e1ecca2ecbc8f95106c95e0fb6f16ff0f4e57f8.zip
clang-format: Hopefully fix code blocks in docs.
Otherwise I will have to install sphinx ;).. llvm-svn: 249542
Diffstat (limited to 'clang/docs/tools/dump_format_style.py')
-rwxr-xr-xclang/docs/tools/dump_format_style.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/tools/dump_format_style.py b/clang/docs/tools/dump_format_style.py
index 3c04171044e..54760529ea6 100755
--- a/clang/docs/tools/dump_format_style.py
+++ b/clang/docs/tools/dump_format_style.py
@@ -87,7 +87,7 @@ class EnumValue:
def clean_comment_line(line):
if line == '/// \\code':
- return '\n.. code-block:: c++\n'
+ return '\n.. code-block:: c++\n\n'
if line == '/// \\endcode':
return ''
return line[4:] + '\n'
OpenPOWER on IntegriCloud