diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-03-09 06:41:08 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2017-03-09 06:41:08 +0000 |
commit | f3e295a7817d4955d7619ebc642527185f3ecec3 (patch) | |
tree | c6aed7407098c36e1fab97277b864f3333887351 /clang/docs/tools/dump_format_style.py | |
parent | 5361b82d5462a0368a6dfc6a1fa4e8ebbae34710 (diff) | |
download | bcm5719-llvm-f3e295a7817d4955d7619ebc642527185f3ecec3.tar.gz bcm5719-llvm-f3e295a7817d4955d7619ebc642527185f3ecec3.zip |
Remove a useless subsitution in doxygen2rst which was incorrectly replacing * by \*
Summary: For example, "int\* a;" is displayed instead of "int* a;"
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D30740
llvm-svn: 297363
Diffstat (limited to 'clang/docs/tools/dump_format_style.py')
-rwxr-xr-x | clang/docs/tools/dump_format_style.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/docs/tools/dump_format_style.py b/clang/docs/tools/dump_format_style.py index 6e149394981..d65024fdbab 100755 --- a/clang/docs/tools/dump_format_style.py +++ b/clang/docs/tools/dump_format_style.py @@ -19,7 +19,6 @@ def substitute(text, tag, contents): return re.sub(pattern, '%s', text, flags=re.S) % replacement def doxygen2rst(text): - text = re.sub(r'([^/\*])\*', r'\1\\*', text) text = re.sub(r'<tt>\s*(.*?)\s*<\/tt>', r'``\1``', text) text = re.sub(r'\\c ([^ ,;\.]+)', r'``\1``', text) text = re.sub(r'\\\w+ ', '', text) |