[llvm-bugs] [Bug 29156] New: regression: reproducible assert with -Wdocumentation with clang r279749 with creduce'd test case

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 26 12:53:35 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=29156

            Bug ID: 29156
           Summary: regression: reproducible assert with -Wdocumentation
                    with clang r279749 with creduce'd test case
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: sean at rogue-research.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17055
  --> https://llvm.org/bugs/attachment.cgi?id=17055&action=edit
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.

-- 
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/20160826/1a0f3c6b/attachment.html>


More information about the llvm-bugs mailing list