<div dir="ltr">Yes, this is intended and I actually don't think that it is such a big difference. Multiline variable declaration that are broken after the type are actually reasonably rare.<div><br></div><div>Happy, to take a vote on this though..</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 10:42 AM, Tobias Grosser <span dir="ltr"><<a href="mailto:tobias@grosser.es" target="_blank">tobias@grosser.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 09/07/2014 09:50, Daniel Jasper wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: djasper<br>
Date: Wed Jul  9 02:50:33 2014<br>
New Revision: 212591<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=212591&view=rev" target="_blank">http://llvm.org/viewvc/llvm-<u></u>project?rev=212591&view=rev</a><br>
Log:<br>
clang-format: Revamp function declaration/definition indentation.<br>
<br>
Key changes:<br>
- Correctly (well ...) distinguish function declarations and variable<br>
  declarations with ()-initialization.<br>
- Don't indent when breaking function declarations/definitions after the<br>
  return type.<br>
- Indent variable declarations and typedefs when breaking after the<br>
  type.<br>
<br>
This fixes <a href="http://llvm.org/PR17999" target="_blank">llvm.org/PR17999</a>.<br>
</blockquote>
<br></div>
I think this commit changed the formatting of global command line declarations in LLVM:<br>
<br>
static cl::opt<bool><br>
DetectScopsWithoutLoops("<u></u>polly-detect-scops")<br>
<br>
became:<br>
<br>
static cl::opt<bool><br>
  DetectScopsWithoutLoops("<u></u>polly-detect-scops")<br>
<br>
and<br>
<br>
static cl::opt<std::string><br>
OnlyFunction("polly-only-func"<u></u>)..<br>
<br>
became<br>
<br>
<br>
static cl::opt<std::string> OnlyFunction(<br>
  "polly-only-func")<br>
<br>
I personally was very happy with the previous formatting. Was this change intended?<br>
<br>
As this introduces a large difference compared to clang-format-3.4, I would prefer to keep the existing style.<span class="HOEnZb"><font color="#888888"><br>
<br>
Tobias<br>
</font></span></blockquote></div><br></div>