<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:yaron.keren@gmail.com" title="Yaron Keren <yaron.keren@gmail.com>"> <span class="fn">Yaron Keren</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Unknown builtin type! UNREACHABLE executed at ASTContext.cpp:1683!"
   href="https://bugs.llvm.org/show_bug.cgi?id=31822">bug 31822</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Unknown builtin type! UNREACHABLE executed at ASTContext.cpp:1683!"
   href="https://bugs.llvm.org/show_bug.cgi?id=31822#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Unknown builtin type! UNREACHABLE executed at ASTContext.cpp:1683!"
   href="https://bugs.llvm.org/show_bug.cgi?id=31822">bug 31822</a>
              from <span class="vcard"><a class="email" href="mailto:yaron.keren@gmail.com" title="Yaron Keren <yaron.keren@gmail.com>"> <span class="fn">Yaron Keren</span></a>
</span></b>
        <pre>fixed in r305089 by failing with errors:

file.cpp:6:6: error: 'auto' not allowed in lambda parameter
  [](auto &&) {}(stringer_for(args));
     ^~~~
file.cpp:6:3: error: no matching function for call to object of type '(lambda
at file.cpp:6:3)'
  [](auto &&) {}(stringer_for(args));
  ^~~~~~~~~~~~~~
file.cpp:8:14: note: in instantiation of function template specialization
'do_log<int>' requested here
void foo() { do_log(2); }
             ^
file.cpp:6:3: note: candidate function not viable: no known conversion from
'stringer_for' to 'int' for 1st argument
  [](auto &&) {}(stringer_for(args));
  ^              ~~~~~~~~~~~~~~~~~~
file.cpp:6:3: note: conversion candidate of type 'void (*)(int &&)'
2 errors generated.</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>