[llvm-bugs] [Bug 35424] New: Doxygen comments for fields are not detected in PACK macro
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Sun Nov 26 03:35:11 PST 2017
    
    
  
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: unassignedclangbugs at nondot.org
          Reporter: ph.schoppe at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171126/51ca630d/attachment.html>
    
    
More information about the llvm-bugs
mailing list