<div dir="ltr">Hello,<div><br></div><div>I worked on adding a similar feature some time back : <a href="https://reviews.llvm.org/D50147">https://reviews.llvm.org/D50147</a></div><div>It supports specifying styles by absolute file name as well as lookup of a style by name in various locations (like <font face="monospace">~/.local/share/clang-format</font> or <font face="monospace">/usr/share/clang-format</font>), allowing to install styles on the machine and use them similarly to "integrated" styles : e.g. reference them in BasedOnStyle tag or specify them via the --style parameter...</div><div><br></div><div>Unfortunately there was no consensus on this approach, and I did not get the time yet to finalize something that could be integrated. But as long as you are ready to recompile clang-format, it should work fine.</div><div>Best regards,</div><div><br></div><div>-- </div><div>Francois</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 10, 2020 at 2:28 PM via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="RO">
<div class="gmail-m_1801940848475233338WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have recently started to work with Clang-Format and Clang-Tidy tools as part of a methodology project in my company.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">We want to have a uniform style and format in the entire department and for that we want to use the two tools to automatically keep this in order. For this we need to be able to store the config files somewhere available
 for everybody and for any project. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">In my research, I did not find the possibility to give an Absolute Path to the config files of the tools.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This is why I added the feature myself and recompiled the tools. Could some body help me with the integration of the feature in the community?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cezar<u></u><u></u></span></p>
</div>
</div>

_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>