<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64234>64234</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            how to set the format by lamda as args
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          aengusjiang
      </td>
    </tr>
</table>

<pre>
    the code like below:
`void login_srv::on_run()
{
    INFO_MT("co1 min_log_level:{}|sched num:{} ...", FLG_min_log_level, co::schedulers().size());

    for (auto &&c : m_context_vec)
 {
        const auto sched = c.sched;
        sched->go([&, this] {
 m_wg.add();

            c.uws_app
 ->listen(m_port,
                         [&c, this](auto *socket) {
 int a = 1;
                             int bb = 2;
                         })
                .run();
 m_wg.done();
            INFO_MT_IF(0 == c.id, "[service] co{} uwebsocket done.", c.id);
        });
    }
}`

expect the format like this:
`void login_srv::on_run()
{
    INFO_MT("co1 min_log_level:{}|sched num:{} ...", FLG_min_log_level, co::schedulers().size());

    for (auto &&c : m_context_vec)
 {
        const auto sched = c.sched;
        sched->go([&, this] {
 m_wg.add();
            c.uws_app->listen(m_port,
 [&c, this](auto *socket) {
                    int a = 1;
 int bb = 2;
                }).run();
 m_wg.done();
            INFO_MT_IF(0 == c.id, "[service] co{} uwebsocket done.", c.id);
        });
    }
}
`

use the clangformat style by Microsoft
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsVcuOqzgQ_RqzKTUCm0dYsMhjGLU0PbOZPTKmGtxtcIRN0pmvHxnIq9PzuKurK93axLJ9XKeqzgncGNn0iDmJNyTeeXy0rR5yjn0zmjfJ-8ardH3KbYsgdI2g5DtChUofCVuTYEeCNUmCg5Y1KN3IvjTDwZ2wte7LYewJXRGaLRfTzbwAAHj-vfijfPlzOqdCh9DJvlS6KRUeULkn0g1JdyTdGtFiDf3YXTbB931CKaFbKH77tbxH0i0IPVOYkKPCwcw0fCP_woURzQhb6FxJveoBCF3x0WogNCE0EUDYGrpS6N7ihy0PKC71wF1BLoTujYUJPrMmbAfCn9aXdOfL0-4TYb802nGKN1PGLdhWGhLvbl7vymPj87peqD_yvuT3x6Mp-X6_HLnXlTQW3Ry6cq8HS-j2EXcXMxNxQ-XakrXR4h0todkNPdlb4FOp4UORX4YDVNWEoP-NcCq4tPxT-FeJsbtu1brHzwc3saivfC4IXQWOyTwpWbuynbbijcHhIAW6UQi9CG88YjW3AFyGswpn4GOqhfrtttta3LAjSXA7SfzYo7DgvPaqh47b2W3TEH6a7Tub7Uub_au_vtlH_-CUB2v9L_vM0vvB_XGW_K10RoOTRYTifbP4xNiTQqhO8CLFoI1-tV6dszpjGfcwD5MsSGkaJ6HX5lkswigUnNIoy2icRQFLMlZRHiW1wLDyZE4DyoKUBWHEaBT6WSoSrBKs63rFIkxJFGDHpfKVOnS-HhpPGjNinkSURZ7iFSpz_p4Oubv0VI2NIVHgpGKuMCutwrzVR3ASxjvnVydQvKs5cAN8aIw3Dipvrd1PfwW0ILRopG3Hyhe6I7Rwjy4_T_tBv6GwhBYTMUNoMXH7OwAA__9dZR4y">