<div dir="ltr"><div>There are two fundamental things to do here:<br></div><div>- Properly format doxygen comments (ideally understanding things like the "<".</div><div>- Re-flowing of comments (doxygen or not) </div><div><br></div><div>Both have been on our list for quite some time, but we never really got around to it.</div><div><br></div><div>Alex, how hard would it be to add basic re-flowing?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 9, 2014 at 8:22 PM, Karl Napf <span dir="ltr"><<a href="mailto:karl.b.napf@googlemail.com" target="_blank" class="cremed">karl.b.napf@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><span style="font-family:'courier new',monospace">Hi, I would like to
 reformat an existing code base using clang-format (according to the 
Google guidelines). As shown below, the line breaking of some Doxygen comments is not yet optimal using version 3.5. Any hints on how to avoid this? Is there special 
support for Doxygen comments in clang-format? Thank you very much in 
advance for your help! Regards</span></div><div><span style="font-family:'courier new',monospace"><br><br>Before:<br><br>void fun(<br>  RAI last,<br>  /**< [IN] Random access iterator [...] of the<br>            input range */<br><br></span></div><span style="font-family:'courier new',monospace">After:<br></span><span style="font-family:'courier new',monospace"><br>void fun(<br>    RAI last,<br>    /**< [IN] Random access iterator [...] of<br>       the<br>              input range */<br><br></span></div><span style="font-family:'courier new',monospace">Ideally:<br><br></span><span style="font-family:'courier new',monospace">void fun(<br>    RAI last,<br>    /**< [IN] Random access iterator [...] of<br>       the input range */<br></span></div></blockquote><div><br></div><div>Why not:</div><div><br></div><div> <span style="font-family:'courier new',monospace">void fun(</span></div><span style="font-family:'courier new',monospace">    RAI last,</span><br style="font-family:'courier new',monospace"><span style="font-family:'courier new',monospace">    /**< [IN] Random access iterator [...] of</span><br style="font-family:'courier new',monospace"><span style="font-family:'courier new',monospace">              the input range */</span></div><div class="gmail_quote"><font face="courier new, monospace"><br></font></div><div class="gmail_quote"><font face="courier new, monospace">?</font></div><div class="gmail_quote"><font face="courier new, monospace"><br></font><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="font-family:'courier new',monospace"></span><br></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" class="cremed">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank" class="cremed">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>