<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Doxygen comments for fields are not detected in PACK macro"
   href="https://bugs.llvm.org/show_bug.cgi?id=35424">35424</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Doxygen comments for fields are not detected in PACK macro
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ph.schoppe@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19475" name="attach_19475" title="test header file">attachment 19475</a> <a href="attachment.cgi?id=19475&action=edit" title="test header file">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>