<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 - ArrayRef defined in APInt.h"
   href="https://bugs.llvm.org/show_bug.cgi?id=36978">36978</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ArrayRef defined in APInt.h
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Documentation
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>Doxygen
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>taylor@hansenfamily.us
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While looking at the Doxygen for ArrayRef, I was surprised to see that it says
the class is defined in llvm/ADT/APInt.h at
<a href="http://llvm.org/doxygen/APInt_8h_source.html#l00033">http://llvm.org/doxygen/APInt_8h_source.html#l00033</a>.

However, this looks like a declaration of the class, not a definition. Doxygen
seems to be treating template declarations as definitions

A solution for this would be to wrap template declarations in `/// \cond ...
/// \endcond` doc comments which prevent Doxygen from creating documentation
for it. Doing that fixes the issue for me.

I'll assign myself to this bug. However, I suspect that other template classes
are being affected by this as well, so we should look for them in other
headers.

It would also be nice to get some insight as to why Doxygen does this and how
we can disable it.</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>