[llvm-bugs] [Bug 25751] New: doxygen parameter checking false positives

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 4 23:50:16 PST 2015


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

            Bug ID: 25751
           Summary: doxygen parameter checking false positives
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: abramo.bagnara at bugseng.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Using the same example found in:

https://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdparam

$ cat p.c
/** Sets the position.
 *  @param x,y,z Coordinates of the position in 3D space.
 */
void setPosition(double x,double y,double z,double t)
{
}
$ clang -Wdocumentation -c p.c
p.c:2:12: warning: parameter 'x,y,z' not found in the function declaration
      [-Wdocumentation]
 *  @param x,y,z Coordinates of the position in 3D space.
           ^~~~~
1 warning generated.

It seems that checker is confused by presence of comma.

-- 
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/20151205/d988b7fd/attachment.html>


More information about the llvm-bugs mailing list