<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - [clang/index] inherited constructor reference are not indexed with IndexDataConsumer and IndexASTConsumer"
   href="https://bugs.llvm.org/show_bug.cgi?id=45877">45877</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[clang/index] inherited constructor reference are not indexed with IndexDataConsumer and IndexASTConsumer
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>-New Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>federandink@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I was testing clang::index::IndexDataConsumer with
clang::index::createIndexingASTConsumer on a clang::ASTFrontendAction.
I was just dumping the indexed decls (names, roles, ...)

But I noticed that the reference to inherited constructor was not indexed,
unlike a call to a "normal" constructor.

see my gist for example:
<a href="https://gist.github.com/FederAndInk/8000d182498f5e5a48e648b3d40fa09f">https://gist.github.com/FederAndInk/8000d182498f5e5a48e648b3d40fa09f</a>
and here a program that uses IndexASTConsumer and dump some info if necessary:
<a href="https://gist.github.com/FederAndInk/d7e0867b15fa09758e1abfb95a9e20d4">https://gist.github.com/FederAndInk/d7e0867b15fa09758e1abfb95a9e20d4</a>

And finally the output:
<a href="https://gist.github.com/FederAndInk/d4d4c90b8a9c3849ee92b9ac02cb037e">https://gist.github.com/FederAndInk/d4d4c90b8a9c3849ee92b9ac02cb037e</a>
Lines 128 and 148 are the call to S::S a "normal" constructor
But no ref and call to the inherited constructor of SD

I also might have missed something or be wrong, please tell me if this is the
case.</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>