<br><br><div class="gmail_quote">Le 16 novembre 2011 02:14, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com">dgregor@apple.com</a>></span> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF"><div><br><br>Sent from my iPhone</div><div><br>On Nov 10, 2011, at 4:58 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>> wrote:<br><br></div>
<div></div><blockquote type="cite"><div><div class="gmail_quote">Style nit:</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Nov 10, 2011 at 4:35 PM, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com" target="_blank">dgregor@apple.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>+HeaderSearch::HeaderSearch(FileManager &FM, DiagnosticsEngine &Diags)<br>
+  : FileMgr(FM), Diags(Diags), FrameworkMap(64)<br>
+{</div></blockquote></div><div><br></div><div>Don't the '{'s usually go on the line above?</div>
</div></blockquote><br><div>*sigh* I just can't do it. My editor falls over itself and dies with the hanging brace, making the code uneditable. I'll be happy to argue for a tweak to the style guide :)</div></div>

<br></blockquote><div>I'll be happy to support a style change.<br><br>I understand placing the '{' on the same line as the declaration where the declaration uses a single line, but as soon as the declaration spans multiple lines, it becomes difficult to differentiate the end of the declaration from the beginning of the code block without introducing a new line... where the '{' can be placed on its own.<br>
<br>--Matthieu<br></div></div>