<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2019 at 11:12 PM Pardis Pashakhanloo via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@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 dir="ltr"><div style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">Hi all,</div><div style="font-family:tahoma,sans-serif;color:rgb(68,68,68)"><br></div><div style="font-family:tahoma,sans-serif;color:rgb(68,68,68)">What is the coding style that clang developers (<a href="https://github.com/llvm-mirror/clang" style="font-family:Arial,Helvetica,sans-serif" target="_blank">https://github.com/llvm-mirror/clang</a>) use? When I use ".clang-format" to reformat the code that is in this repo, cpp files change. Is there any other clang-format config that is used in this repo?</div></div></blockquote><div>That the code does not change when `clang-format` is applied using the LLVM style (`--style=llvm`) is not an actual requirement the last I checked. Put another way, `clang-format` output is not the only valid expression of the LLVM style. Instead of applying `clang-format` to the entire file, try using `clang/tools/clang-format/git-clang-format`.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif;color:rgb(68,68,68)"><br></div><div><div dir="ltr" class="gmail-m_9063825048624151430gmail_signature"><div dir="ltr">Best,<div>Pardis</div></div></div></div></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>