[LLVMbugs] [Bug 19447] New: Assertion failure in CommentLexer.cpp (functor_bag.hpp)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 16 08:30:28 PDT 2014


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: unassignedclangbugs at nondot.org
          Reporter: gabor.alex.ispanovics at ericsson.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140416/e7e618ba/attachment.html>


More information about the llvm-bugs mailing list