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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to