http://llvm.org/bugs/show_bug.cgi?id=19447

            Bug ID: 19447
           Summary: Assertion failure in CommentLexer.cpp
                    (functor_bag.hpp)
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12384
  --> http://llvm.org/bugs/attachment.cgi?id=12384&action=edit
Test file

When I compile a source with -Wdocumentation command line parameter that uses
the boost::bimap library, I get an assertion error in CommentLexer.cpp.

>From the core file it seems the problem is with the \link notation in the
boost/bimap/container_adaptor/details/functor_bag.hpp file (boost 1.55.0).

I have created a test file that contains the problematic comment (see the
test.cpp attachment).

Steps to reproduce:
1, Download the attached test.cpp
2, Run "clang++ -Wdocumentation test.cpp" command

I get:
clang: CommentLexer.cpp:455: void
clang::comments::Lexer::lexVerbatimBlockFirstLine(clang::comments::Token&):
Assertion `BufferPtr < CommentEnd' failed.
+ a stack trace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to