Open Bug 1903944 Opened 2 years ago Updated 2 years ago

Tweak the PrintingPolicy for field types

Categories

(Webtools :: Searchfox, enhancement)

enhancement

Tracking

(Not tracked)

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.

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.

okay, if there's conflicting requirements, at least this shouldn't block bug 1902875.

No longer blocks: 1902875
See Also: → 1902875
Depends on: 1904169
You need to log in before you can comment on or make changes to this bug.