Community
Participate
Working Groups
The ASTCommentVisitor does not visit Enumerators. Thereby, the commentMap does not include IASTComments for Enumerators, e.g.: typedef enum { A, // missing in trailingMap (NodeCommentMap) // missing in leadingMap (NodeCommentMap) B } enum_t; There is a leave function, but no visit function for IASTEnumerator. Furthermore, shouldVisitEnumerators is not set.
Hi Robin, Thanks for your analysis. It sounds like you have a good handle on this problem. Will you be able to provide a fix? Please let me know how I can help you create a gerrit for review. Thanks, Jonah