<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 - clang-format mistakes structured bindings for Objective-C"
   href="https://bugs.llvm.org/show_bug.cgi?id=37433">37433</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-format mistakes structured bindings for Objective-C
          </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>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Formatter
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm@reupen.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>ClangFormat mistakes the following C++ code for Objective-C (tested with
revision 332164):

void refresh_all_items()
{
    for (auto& [id, name] : m_items) {
        Sleep(100);
    }
}


The actual file I'm seeing this problem on is
<a href="https://github.com/reupen/columns_ui/blob/master/foo_ui_columns/drop_down_list_toolbar.h">https://github.com/reupen/columns_ui/blob/master/foo_ui_columns/drop_down_list_toolbar.h</a>

Running clang-format on it yields:

Configuration file(s) do(es) not support Objective-C:
F:\foobar2000\columns_ui\foo_ui_columns\.clang-format


This is similar to <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [clang-format] C++11 attribute confused for Objective-C code"
   href="show_bug.cgi?id=36248">https://bugs.llvm.org/show_bug.cgi?id=36248</a> (though the bugs
mentioned there are actually fixed).</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>