title: how to make clang-format add new line before opening brace of a function?
body: <p>I'm interested in putting an opening brace for functions (but not if statements and other contexts). For example</p>
  
  <pre class="lang-c++ prettyprint-override"><code>void foo()
  {
     ...
  }
  </code></pre>
  
  <p>Flamewars aside, is there a good rationale for <em>not</em> doing this? Although I use same-line open-brackets for if/else and smaller blocks, I think in this case visual organization of larger units of code (functions/methods/classes/structs) can trump perfect consistency.</p>
  
  <p>Moreover, how do I get clang-format to follow this style?</p>