Closed deadlocklogic closed 2 years ago
The libclang parser never generates a cpp_dependent_type
actually, so I'm curious why you ran into that issue? Nevertheless, it is now formatted properly.
I made a TypeUtils
class which (parses/clones/prints/sanitizes/resolves) cpp_type
. So yeah I am stretching the boundaries a bit with this library.
Dependent types should be named as:
typename dependee::name
but in the current implementation only the name appears when callingcppast::to_string
.Maybe use the dependee type in this snippet for better naming? Thnaks.