[cfe-dev] Changing the size of ConstantArrayType

Dimitrij Kotrev dimitrij.kotrev at googlemail.com
Mon Jan 31 13:39:17 PST 2011


Hello,

i need a way to change the size of the ConstantArrayType after the AST
is created.
I thought about two ways to do it:
1. I'll add a setSize method to ConstantArrayType class.
or
2. I replace 'somehow' the node in the AST with a new one, which has
the size i need.

But i dont know what are the consequences when i'll do it the one or
the other way. And
is it possible to do it so anyway? What are the other options i have
to solve this problem?

Thx



More information about the cfe-dev mailing list