<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 - Crash parsing friend constexpr function with noexcept(true) specifier"
   href="https://bugs.llvm.org/show_bug.cgi?id=47176">47176</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash parsing friend constexpr function with noexcept(true) specifier
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>C++2a
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>code@extbit.io
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>blitzrakete@gmail.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23853" name="attach_23853" title="Compilation command line and outputs/dumps">attachment 23853</a> <a href="attachment.cgi?id=23853&action=edit" title="Compilation command line and outputs/dumps">[details]</a></span>
Compilation command line and outputs/dumps

Got parsing bugs like:

1.      /Users/duzy/workspace/toolchain/source/extcxx/include/execution:4967:2:
current parser token ';'
2.      /Users/duzy/workspace/toolchain/source/extcxx/include/execution:869:1
<Spelling=/Users/duzy/workspace/.out/x86_64-unknown-darwin-gnu/building/include/c++/v1/__config:765:37>:
parsing namespace 'std'
3.      /Users/duzy/workspace/toolchain/source/extcxx/include/execution:869:1
<Spelling=/Users/duzy/workspace/.out/x86_64-unknown-darwin-gnu/building/include/c++/v1/__config:765:60>:
parsing namespace 'std::__extbit_1'
4.      /Users/duzy/workspace/toolchain/source/extcxx/include/execution:869:1
<Spelling=/Users/duzy/workspace/.out/x86_64-unknown-darwin-gnu/building/include/c++/v1/__config:780:71>:
parsing namespace 'std::__extbit_1::execution'
5.      /Users/duzy/workspace/toolchain/source/extcxx/include/execution:869:1
<Spelling=/Users/duzy/workspace/.out/x86_64-unknown-darwin-gnu/building/include/c++/v1/__config:780:100>:
parsing namespace 'std::__extbit_1::execution::v1'
6.     
/Users/duzy/workspace/toolchain/source/extcxx/include/execution:4958:35:
parsing struct/union/class body 'std::__extbit_1::execution::v1::crash_test'



While compiling code segment looks like this:

template <typename InnerProperty> struct crash_test
{
  template <typename Executor, typename Property>
  friend constexpr void crash(const Executor& ex, const crash_test<Property>&
p,
    enable_if_t<is_same_v<Property, InnerProperty> /*&& can_prefer_v<const
Executor&, const InnerProperty&>*/>* = 0)
    noexcept(/*is_nothrow_prefer<const Executor&, const
InnerProperty&>::value*/true)
  {
    return _VSTD::prefer(ex, p.property);
  }
};</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>