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

    <tr>
        <th>Summary</th>
        <td>
            clang-tidy constexpr lambda/functions naming
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          edwardvandevorst-philips
      </td>
    </tr>
</table>

<pre>
    Using these settings (clang-tidy 15.06)
```
  - { key: readability-identifier-naming.ConstexprFunctionCase,    value: camelBack }
  - { key: readability-identifier-naming.ConstexprMethodCase, value: camelBack }
  - { key: readability-identifier-naming.ConstexprVariableCase,    value: CamelCase }
  - { key: readability-identifier-naming.ConstexprVariablePrefix, value: k }
```
I would expect that this code would work fine:

```
inline constexpr auto isController = [](const auto& arg) {
    return true;
};
```

but it fails:

```
inline constexpr auto isController = [](const auto& arg) {
 ^~~~~~~~~~~
                      kIsController
```

Is this a bug in clang-tidy or am I missing an option here?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8VEuPozgQ_jXmUiIyhhBy4NCdLFIOK-1l915AAbUxNrJNunOZ3z4ij-70TGsu0xoLmUcV34OqAr3n3hCVYv0s1vsI5zBYV1L7gq49oWnpZJ0P8TSw5slHtW3P5b-eTQ9hIE_gKQQ2vQehikaj6ePA7RmS9UrmQm2F3Av5JHJ5Oy63ADGIzTMc6SzSJ3CELdasOZxjbskE7phcbHBk06921vhAr5OrZtMEtmaHnoTaAQCcUM-0QDQ4kn7G5ghis_8dkr8pDLa9U3w9_n_oGGtNn5nYLSRL4KtI_nHU8esHIw8GfijKAV7srFug14maAGHAZWMPjW3pFnux7ggdmwXqBvIZFBvNhqC56wGcgwX2O2uCs1qTA5Hu4dpyS98siZckoXJA1wu1XWzfvwGAozA7A8EtLm7PFyNv1x8FXPd6DsABOmTt_6hgsf7r29t6N_HzOh4eKH7h5OCvpUCo5x7YwMOkWQc4wgFG9pexRAN2WuYEBnIk0ipqy7TdpluMqEzyjSqSIitUNJSNTPIO002OTVrLVOUpNkW6qZGSJEs6jLhUUqUykZncZIVUK1VkXS4VFpjVsmhSkUkakfVK69O4sq6P2PuZyvW2UEmksSbt738WVy5JcT33XmRSsw_-_bXAQVP54Oq9FBrHukWhqu42_x6u_R7NTpdDCNOluKoSquo5DHO9auwoVLWA307x5Oz_1AShqotAL1R10fg9AAD__-H2jdE">