<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Well it's being used if it exists by qt-creator and by visual studio, how would I know what kind of setup other people use?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">The part of the setup that everyone uses is git.  So if you want to start with some automatic syntax verification based on clang-format (which I thought this was about), it should be integrated with git.  There are probably various different ways to do this, but I would think a local hook on the client would be useful, warning if a commit introduces malformatted code.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Something like https://github.com/barisione/clang-format-hooks ?</p><p style="white-space: pre-wrap; word-wrap: break-word;">In terms of enforcement, if you wanted to go there, this would happen to have on the gerrit side.</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I also want to have it in this project, so it can be used in this project, not somewhere where I need to check out a different repo and copy the file just to have it in this project which means no one is going to use it.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">In general, we try to share whatever can be shared between projects in common repositories, rather than copy+pasting.  But if you only want this in osmo-trx, I misread your intentions.</p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #d4ffd4;">Code-Review +2</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/19640">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/19640">change 19640</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/19640"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1dc6610d7adfa1a52f3d41ad04544806c2be2c39 </div>
<div style="display:none"> Gerrit-Change-Number: 19640 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 24 Aug 2020 14:28:03 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>