diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-11-20 07:46:19 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-11-20 07:46:19 +0000 |
commit | 611d33a5a2ae4c584ba8ce323587b11a413b2f56 (patch) | |
tree | 551837e753a52d334c00a1d40835d46af8834014 /clang/docs/tools/dump_format_style.py | |
parent | e325e3806f2dd1f570f339b63dcf298728763d93 (diff) | |
download | bcm5719-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-x | clang/docs/tools/dump_format_style.py | 2 |
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) |