<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - regression: reproducible assert with -Wdocumentation with clang r279749 with creduce'd test case"
   href="https://llvm.org/bugs/show_bug.cgi?id=29156">29156</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>regression: reproducible assert with -Wdocumentation with clang r279749 with creduce'd test case
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sean@rogue-research.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17055" name="attach_17055" title="repro case">attachment 17055</a> <a href="attachment.cgi?id=17055&action=edit" title="repro case">[details]</a></span>
repro case

Building my code with clang -Wdocumentation is causing clang r279749 to assert
on me:

Assertion failed: (Content.size() != 0), function parseParagraphOrBlockCommand,
file /Users/builder/llvm/llvm/tools/clang/lib/AST/CommentParser.cpp, line 561.

I used creduce to create a small test case, attached.

To repro:

clang -fsyntax-only -Wdocumentation parseParagraphOrBlockCommand-assert.cpp 

This used to not crash, but I did not regress it.</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>