<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/102582>102582</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Addding a new BasedOnStyle to clang-format with a couple new options (or just adding some options) for a project
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ionagamed
</td>
</tr>
</table>
<pre>
Hey!
https://github.com/ytsaurus/ytsaurus is using a custom styleguide (https://github.com/ytsaurus/ytsaurus/blob/main/yt/styleguide/cpp.md), and we are currently trying to patch clang-format on our side to add some options that we need.
https://clang.llvm.org/docs/ClangFormatStyleOptions.html#adding-additional-style-options says that in order to merge patches into the upstream repo we need to be a big project with dozens of contributors (which we are), have a publically accessible styleguide (linked above), and have a person willing to contribute and maintain (which we have).
Before we try to make our patches opensource-ready I just wanted to check — do we have a chance of merging some new options here?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUVMuO4zYQ_Brq0rAh0Y-hDjrM7EZITnvIF7TItsQdii3wMYby9QFle3YcIAFyMQ0-qqurqoUx2tETdeL0Jk7fK8xp4tBZ9jjiTKYa2Kzd77QK2Yj6u6hfb79TSksUh1cheyH70aYpD3vNs5D9miLmkOOXv2Aj5Gj9CAg6x8QzxLQ6GrM1BEKq_wcnZD84HoTsZ7R-OxCy_4UoZK-XZT8bIVshvwF6A1cCDAQ6h0A-uRVSWAuhxLBg0hNoh37cXTjMmIA9cA4QC73EgMZA5JmAl2TZR0gTpgLpicz-33XZMPfOfcx7DqOQvWFd2H8r-_1W6s_C-scNdj-l2Ql5QGOsH3dlKfvodltvu0f1iOudgvXAwVAoJGcKI92aoQjWJ4Y0EeQlpkA4Q6CFH5zL_YEAYbAjLIF_kk5wtWkCw3-Rj8AX0OxTsENOHGLx6DpZPd11vAs74UcBWfLgrEbnVkCtKUY7OPqHw876dzKAA3_QF1seCBQie7ha5-6mfFan7V4xOqH1T0TKYyHbJwPe6MKBymkK6yYLvtNm5kMZXshHzkHTLhCaFf6AnzkmuKJPN2X0RPodxG9SqFq0RzD8qFbyO6HXVAQqghe2WzI8XT_TMVEgcegr0x1Me2ixoq55kYembc4vTTV1rdKKTi_1oJU6tkd1MI2hs1E1KWXMBSvbyVoea1W3tZJN0-yHcyPN-XSS6twqZV7EsaYZrfvMVmVjzNQ1tTwpWTkcyMVtpqX8GmwhZZny0JV3uyGPURxrZ2OKv5CSTY66V7OFEHDr7A0jmR9-C-um0Ndh2XKDoDkv7lkIIRWHm7q3TD9NkZAtXDgU-28JrHJw3X98CgrF-7K7PxGy3zovU3Vv_qOTfwcAAP__3kilRw">