<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 - Error mangling declaration in Android NDK header"
   href="https://bugs.llvm.org/show_bug.cgi?id=40747">40747</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error mangling declaration in Android NDK header
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </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>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>bugmail.llvm@staktrace.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dmajor@mozilla.com, froydnj@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk, rnk@google.com, unassignedclangbugs@nondot.org, zturner@google.com
          </td>
        </tr>

        <tr>
          <th>Depends on</th>
          <td>39294
          </td>
        </tr></table>
      <p>
        <div>
        <pre>+++ This bug was initially created as a clone of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add mangling for TypeTraitExpr expressions"
   href="show_bug.cgi?id=39294">Bug #39294</a> +++

Same setup as <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add mangling for TypeTraitExpr expressions"
   href="show_bug.cgi?id=39294">bug 39294</a>:
We have a clang plugin that at some point tries to get mangled names for
various C++ elements from the clang AST. It uses the ItaniumMangle context.

Except this time I'm cross compiling for Android ARM from a Linux host. The
mangler emits this error:


/builds/worker/workspace/build/src/android-ndk/sources/cxx-stl/llvm-libc++/include/tuple:1015:25:
Mangling declaration
'std::__ndk1::__find_detail::__find_exactly_one_checked::__matches'</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add mangling for TypeTraitExpr expressions"
   href="https://bugs.llvm.org/show_bug.cgi?id=39294">Bug 39294</a>] Add mangling for TypeTraitExpr expressions
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>