https://bugs.llvm.org/show_bug.cgi?id=47102
Bug ID: 47102
Summary: Make dump_ast_matchers.py work with python 3
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Documentation
Assignee: unassignedclangb...@nondot.org
Reporter: zeratul...@hotmail.com
CC: llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
There is a script in the tree at clang/docs/tools/dump_ast_matchers.py which
regenerates the HTML documentation for AST matchers.
When I invoke the script with Python 3, I get the following exception:
Traceback (most recent call last):
File "dump_ast_matchers.py", line 478, in <module>
output.write(reference)
TypeError: a bytes-like object is required, not 'str'
Invoking the script with Python 2 works fine.
As Python 2 is end-of-life, the script should probably be ported to Python 3.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs