<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - InlineCommandComment - incorrect text of argument and wrong value of hasTrailingNewLine()"
   href="https://llvm.org/bugs/show_bug.cgi?id=27184">27184</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>InlineCommandComment - incorrect text of argument and wrong value of hasTrailingNewLine()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libclang
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dpldobrev@protonmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>A comment as simple as:

    /// \a versions.
    /// \a num_versions
    /// Comment.
    int GetVersion (int versions, int num_versions);

has two bugs in the InlineCommandComment objects Clang generates at parsing:
1. The dot at the first line is incorrectly included in
InlineCommandComment::Argument.Text because it's not part of the name of the
parameter;
2. hasTrailingNewLine() is false in both InlineCommandComment-s. The bug is
indisputable in the second argument reference because it does not have any dots
at the end which might have generated a TextComment to take the trailing new
line.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>