<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 - [RGT] QualTypeNamesTest appears to do nothing"
   href="https://bugs.llvm.org/show_bug.cgi?id=49652">49652</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[RGT] QualTypeNamesTest appears to do nothing
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>trunk
          </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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>paul_robinson@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>clang/unittests/Tooling/QualTypeNamesTest.cpp implements a struct
TypeNameVisitor, which is derived from TestVisitor, which appears to be
for tests invoking a RecursiveASTVisitor.

This struct defines a method VisitValueDecl() to do certain tests on
the name of a ValueDecl.  However, that method is never called; I can 
put an 'llvm_unreachable' at the top and it never fires.

The output of running the ToolingTest suggests that QualTypeNamesTest
is actually called, but apparently something about the definition of the
struct and/or its methods keeps the test from ever doing what it looks
like it ought to be doing.

I tried fussing with it a bit (is the parameter not supposed to be const?)
but no simple tweaks made any difference.  I suspect I just didn't find
the right simple tweak, but I've never used these classes myself so I'm
unsure what's missing.


Found by the Rotten Green Tests project.</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>