https://bugs.llvm.org/show_bug.cgi?id=35424
Bug ID: 35424
Summary: Doxygen comments for fields are not detected in PACK
macro
Product: clang
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangb...@nondot.org
Reporter: ph.scho...@gmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 19475
--> https://bugs.llvm.org/attachment.cgi?id=19475&action=edit
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs