title: Clang format splits if statement body into multiple lines
body: <p>I have the following .cpp file:</p>
  
  <pre><code>////////////////////////////////////////////////////////////////////////////////
  void call_long_function_name(bool) {}
  void sf(bool) {}
  int main() {
    bool test = true;
    if (test) { call_function_name(test); }
    if (test) { sf(test); }
    return 0;
  }
  </code></pre>
  
  <p>(the slashes delimit 80 characters). Using the following configuration file, clang-format suggests:</p>
  
  <pre><code>////////////////////////////////////////////////////////////////////////////////
  void call_long_function_name(bool) {}
  void sf(bool) {}
  int main() {
    bool test = true;
    if (test) { 
      call_function_name(test); 
    }
    if (test) { 
      sf(test); 
    }
    return 0;
  }
  </code></pre>
  
  <p>even tho in the file I allow short if statements to fit into a single line. </p>
  
  <ul>
  <li><p>Did I set any options wrong?</p></li>
  <li><p>Which options can I use to minimize wasted vertical space?</p></li>
  </ul>
  
  <p>Clang-format's .clang-format file</p>
  
  <pre><code>BasedOnStyle: Google
  AccessModifierOffset: -1
  AlignEscapedNewlinesLeft: true
  AlignTrailingComments: true
  AllowAllParametersOfDeclarationOnNextLine: true
  AllowShortFunctionsOnASingleLine: true
  AllowShortIfStatementsOnASingleLine: true
  AllowShortLoopsOnASingleLine: true
  AlwaysBreakBeforeMultilineStrings: false
  AlwaysBreakTemplateDeclarations: false
  BinPackParameters: true
  BreakBeforeBinaryOperators: true
  BreakBeforeBraces: Attach
  BreakBeforeTernaryOperators: true
  BreakConstructorInitializersBeforeComma: true
  ColumnLimit: 80
  ConstructorInitializerAllOnOneLineOrOnePerLine: true
  ConstructorInitializerIndentWidth: 2
  ContinuationIndentWidth: 0
  Cpp11BracedListStyle: true
  DerivePointerBinding: true
  IndentCaseLabels: true
  IndentFunctionDeclarationAfterType: true
  IndentWidth: 2
  MaxEmptyLinesToKeep: 1
  NamespaceIndentation: None
  PointerBindsToType: true
  SpaceAfterControlStatementKeyword: true
  SpaceBeforeAssignmentOperators: true
  SpaceInEmptyParentheses: false
  SpacesBeforeTrailingComments: 2
  SpacesInCStyleCastParentheses: false
  SpacesInParentheses: false
  SpacesInAngles:  false
  Standard: Cpp11
  TabWidth: 2
  UseTab: Never
  </code></pre>