I am new to Clang libTooling development.
consider the following variable declaration
int i, j, k = 10;
^ ^
For my project requirement, I want to capture the whole declaration expression including "i", "j" and "k".
How to capture the complete declaration expression including all variables with clang libTooling?
What I am experiencing is that I do not get the visitor for complete expression instead I get the visitor for individual variable declaration.
Is this the expected behavior in clang libTooling OR am I missing something?
Please suggest me the correct way to capture single line multiple declarations or any workaround? Any kind of help will be really appreciated.
Thanks, Hemant
Aucun commentaire:
Enregistrer un commentaire