<div dir="ltr"><div style="font-size:12.8px">Hello,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have a question:</div><div style="font-size:12.8px">Do you know maybe how to make clang-tidy in version 4.0 use formatting style for fixes (-fix) from .clang-format file?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I tried in many different ways but I failed.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Documentation mentions 'clang-format config file to be found' but anywhere I put it, it is still not used by clang-tidy also if I put in in location pointed by '-p' option.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><a href="http://releases.llvm.org/4.0.0/tools/clang/tools/extra/docs/clang-tidy/index.html" target="_blank">http://releases.llvm.org/4.0.<wbr>0/tools/clang/tools/extra/<wbr>docs/clang-tidy/index.html</a><br></div><div style="font-size:12.8px"><pre style="white-space:pre-wrap;overflow-x:auto;overflow-y:hidden;border-color:rgb(12,55,98);border-style:dotted;border-width:thin;margin-top:0px;margin-bottom:12px;padding:0.8em;background-color:rgb(240,240,240);color:rgb(51,51,51)"><span class="gmail-m_-3350798067441497022gmail-go" style="color:rgb(136,136,136)">-style=<string>              -</span>
<span class="gmail-m_-3350798067441497022gmail-go" style="color:rgb(136,136,136)">                                 Fallback style for reformatting after inserting fixes</span>
<span class="gmail-m_-3350798067441497022gmail-go" style="color:rgb(136,136,136)">                                 if there is no clang-format config file found.</span></pre></div><div style="font-size:12.8px">I have no idea where I should put .clang-format file so it could be used by clang-tidy for applying clang-tidy fixes.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you in advance.</div></div>