<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/97892>97892</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] BasedOnStyle: dummy
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
feelamee
</td>
</tr>
</table>
<pre>
Hey
Is it possible to create dummy style, which will ignore all what is not configured?
I want to use clang-format in already big not formatted repository, but some of it code-style rules can't be represented in clang-format options.
One of example is namespace braces formatting. We always break before braces. But we also use compact record for several sequenced namespaces (we use C++14). See example.
Our code style is
```cpp
namespace foo
{
```
```cpp
namespace foo { namespace boo
{
```
But clang-format can only
```cpp
namespace foo
{
namespace boo
{
```
or
```cpp
namespace foo { namespace boo {
```
This isn't the one such example that's why for us is much easier to ignore this then change code-style.
So, I think better have 90% of auto formatted rules then 0.
I'm ready to contribute to add this feature if it is possible to add it in current clang-format implementation at all
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVM2O6zYPfRplQ0zgKD8eL7yY3EHwzWoW8wFdyxJtq5UlV6Qm9dsXknM7yQWKthcwZMAmDw8pnqOI7OARW3E8i-PrRiUeQ2x7RKcmxE0XzNL-DxdRvYrqZT3fCCzDHIhs5xA4gI6oGMGkaVqAeHEo5De4jlaPcLXOgR18iAjKObiOisES-MCgg-_tkCIasb_cwOGqPGfQRAjaKT889SFOOcmDchGVWaCzQwFY_zAaiDgHshzikkt3iYHChBD6zFUHg0-FF8TkkEArL2TN0GFOjEjoM4j1jxXDzDZ42t53_-4LKv6hptlh6URNSLPSCF1UGuk7K-uHLfySu76qhaCLqH6DDvs8iTVyC-fEcM0hdGs4TLPSDBF1iCYjAeEnRuWA8PeEXqP5Kkgg5PMVS-Y3Ic9CnncHIZstfCB-p3hj_55imcN6P2Dp1tSpWh89z-uXr3b6EG5B9fmH6H-VDKI-30_nn-DyMB7mr5WH4N3yM1T_Q90Qf7Id-NvBlPP_oyWwtK4ajwjBI1DS41_bw6NiIWuC67iUy045AaYSo8hizEq4qYczHI_oQY_KD3i31g8b-hGyBN5yvM8Lx4wRRvWJ0FRCHvP2gkoc7tVTVFGwqwesNyHrCVbRZaEHz9F2iYvslTErqR4Vp4hgi9osPZhDjrJFvTrFiP6HO7Z5EBN6VllroDi7xMa0e9PsG7XBdlfLSp7q-njajK2pmt6gag79rtHPtdSmaXSjZd9Xen84mI1tZSUPVV2ddrJqdqdtd5BNd2jUbn98xtpU4lDhpKzbOvc5bUMcNpYoYdvUz43cONWho-KGUt7zFFJmf4xtTnvq0kDiUDlLTF9AbNkVJ31IPL7CWRGad_9RnHH_shrlJkXXjswzif2LkBchL4PlMXVbHSYhLxn29nqaY_gVNQt5KWRJyMvK97OVfwYAAP__goLZJQ">