[LLVMbugs] [Bug 15476] New: Comment parsing fails on templated member with more than one templated type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 8 12:01:42 PST 2013


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

            Bug ID: 15476
           Summary: Comment parsing fails on templated member with more
                    than one templated type
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bgertzfield at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Clang's comment parsing fails to recognize the documentation block in the
following example:

template<typename U, typename T> struct F {
};

struct G {
/**
 * \brief
*/
  F<int, float> bar;
};

This only seems to reproduce for templated members with more than one template
parameter.

Here's a test case that reproduces the issue. (The first case passes, the
second fails, running on trunk @ r176704.)

http://llvm-reviews.chandlerc.com/differential/diff/1216/

-- 
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/20130308/b2b3b8a6/attachment.html>


More information about the llvm-bugs mailing list