summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools/dump_format_style.py
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-11-20 07:46:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-11-20 07:46:19 +0000
commit611d33a5a2ae4c584ba8ce323587b11a413b2f56 (patch)
tree551837e753a52d334c00a1d40835d46af8834014 /clang/docs/tools/dump_format_style.py
parente325e3806f2dd1f570f339b63dcf298728763d93 (diff)
downloadbcm5719-llvm-611d33a5a2ae4c584ba8ce323587b11a413b2f56.tar.gz
bcm5719-llvm-611d33a5a2ae4c584ba8ce323587b11a413b2f56.zip
Fix ASTMatcher reference newlines and make the generator script windows-proof.
llvm-svn: 253653
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 54760529ea6..b61d2017d05 100755
--- a/clang/docs/tools/dump_format_style.py
+++ b/clang/docs/tools/dump_format_style.py
@@ -188,6 +188,6 @@ contents = open(DOC_FILE).read()
contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
-with open(DOC_FILE, 'w') as output:
+with open(DOC_FILE, 'wb') as output:
output.write(contents)
OpenPOWER on IntegriCloud