Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CDT: Add new IAStComment to an IASTTranslationunit

Hello,

I would like to add a new IASTComment to the set of already existing
IASTComment of a particular IASTTranslationUnit.

IASTTranslationUnit provides a method for getting all existing
IASTComment - getComments(). It returns an IASTComment[]. No way to
add the new IASTComment to this array.

The method IASTTranslationUnit.setComments() does not exist.

Could anyone be so kind and tell me the "how to do" to solve this issue?

Many thanks in advance, Helko

Sincerely,

Helko Glathe


Back to the top