<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/142272>142272</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-doc] Refactor `CommentInfo.Kind` from string to `CommentKind` enum in clang-doc
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          snarang181
      </td>
    </tr>
</table>

<pre>
    We should refactor the clang-doc tool’s internal handling of comment kinds by migrating the CommentInfo.Kind field from a raw SmallString<16> (string) to a strongly-typed enum, CommentKind. This should make iteration of the different fields much more convenient. 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcks-O2yAQh58GX0axYGwn9sGHNruRqt66lXrGMLbp8icCnFXeviLZNNKekJjhp2_mQ6ZkFk80su47614queU1xDF5GaVfRC-qKejr-IcgrWGzGiLNUuUQIa8Eykq_7HRQkEOw7BVZz9kwJDA-U_TSwiq9tsYvEGZQwTnyGd6N1wmmKzizRJlLtYQd7-Uffg71T-M1zIashjkGBxKi_IA3J619y9H4hTVHsWfNKzDs0_0GB8gBJKQcg1_sdZevZ9JAfnMMj4_4klzD79Wkx0ROvhOYTAUl-AJaaLSZZ4oF94aRwG1qBRcigQr-Qt6QzzVUemz00AyyolEc2v7AOce2Wkfe6b4lPom9UFz0sm2Ri25o-dwNg5BtZUbk2PGuEaLlXAy1Uj2nuZs5Ngc5UMdaTk4aW1t7cXWIS2VS2mgULeIBKysnsunmDdHTB9yqDLFojGN5tJu2JbGWW5NyesZkk-1N-H99rHuBXw-xbM-_qmB7fvdwX3XZ87Pr0VAWDcY_P0W1RTuuOZ8Ta74xPDE8LSav21Sr4BieCtDnsTvH8JdUZni6jZEYnj7nvIz4LwAA__-BxuAW">