Guilherme Puglia <1c3br...@gmail.com> writes: > I´m having some troubles again. I wanna convert a tree structure to > c_declspecs structure. > > Anybody know how I could do that?
That seems like an odd transformation to want to make. There is nothing in the compiler which does that today. You could do a rough approximation of it by examining the type to look for qualifiers, and pull them off. There is no way to do the fully general transformation, as c_declspecs as information which is not represented in tree. Ian