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

    <tr>
        <th>Summary</th>
        <td>
            `clang/test/Index/comment-lots-of-unknown-commands.c` test is failing
        </td>
    </tr>

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

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

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

<pre>
    After I fixed a bug in the conversion mechanism between `StringRef` and `CXString` (https://reviews.llvm.org/D133009), a test started failing: `clang/test/Index/comment-lots-of-unknown-commands.c`.

Apparently the test was never passing as intended: due to the string conversion bug the output of `c-index-test` contained the entire source file, which was enough to make the `// CHECK`-s succeed, while the output was in fact incorrect.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylUk2P3CAM_TXJBSWCfM3kkMN0plVXvbWXXgk4CV0CEZDJbn99DdOP3XMlhMHYfs8Pj1a-DpcpgCNPZFIvIAkn4z4TZUhYgAhr7uC8soasIBZulF_JCOEAMCTr6LfglJm_woRnwo2Mvuv3hze6suq8hLD5rL5k1SdcDu4KDl9qfV9L62Z03VhdU9pnFa4rwgfwgfjAXUA2E1c61qovsbTQ3MSUGILmyUh4QSvsuoIJhbbBF3YqdvNs7GGK6EdSvhSYW2b0ltHLY79sG3eYol9Tmwny4J4YwHbJxr1HUIIOZQIgiowE5I6RNiX41OFbeaJo8cXuYdsDsVPiW6hIsUh8UQ6MD1wZ7CuGIr5yWMvuTgCqryEKcCxKLIkMGLvPS4Rc-TOkFCzy0JFcP3-8fsFr4YnfhQCk-EjW8JbHkXpAGUVAK6xzIEKZw8C6jvUdOzGay6GWfd3zPKigYfhPnR9iKv_n6_Ld6eH9EMwqLPtYYhpe4iT8NsXm7A_kh1fl_Q4eD-2pOTf5MjRtKyok3LKTgJH1Pe_Z2LXQUc7k6Tzmmo-g_ZC1H7KqMnCQVALPWXvL1VDRqqLnmrGOspaWUspT1TZV1Uja9qLNGgorEv47mLkbEiX8V4-PWvnwb2rzOCCzAUhwWJ_vYbFugNm6n4vkJk_gQyL_C2BQHog">