Open
Bug 1903944
Opened 2 years ago
Updated 2 years ago
Tweak the PrintingPolicy for field types
Categories
(Webtools :: Searchfox, enhancement)
Webtools
Searchfox
Tracking
(Not tracked)
NEW
People
(Reporter: arai, Unassigned)
References
(Depends on 1 open bug)
Details
https://clang.llvm.org/doxygen/structclang_1_1PrintingPolicy.html
clang's pretty print allows controlling the details.
We can for example omit the struct prefix,
and also use bool instead of _Bool.
Comment 1•2 years ago
|
||
Neat! Note that the pointer_info parser does currently depend on struct being there, etc. so we currently have diverging use-cases there between what a human would want to see and what the pointer_info processing currently[1] wants to see.
1: It would still be good to move the pointer_info processing to a structured representation of the types anyways rather than the hacky parsing.
| Reporter | ||
Comment 2•2 years ago
|
||
okay, if there's conflicting requirements, at least this shouldn't block bug 1902875.
You need to log in
before you can comment on or make changes to this bug.
Description
•