Created attachment 19475
test header file
While implementing a clang ASTVisitor that parses doxygen comments, I noticed
the absence of 'FullComment' nodes for FieldDecls when the enclosing RecordDecl
is wrapped in a custom 'PACK' macro.
When dumping the AST for the attached test file, the FullComment for the
FieldDecl a is only present for the structs test1 and test2. For the struct
test3, no FullComment block is generated. The only difference is that the
__attribute__(__packed__) is wrapped in a macro.
test.h
(315 bytes, text/x-chdr)