title: Clang Format Issue with multiline function declaration parameters
body: <p>Clang Format is consistently doing this:
  </p>
  
  <pre><code>bool importSomethingIn( const boost::property_tree::ptree&amp; inBoostTree,
                          int inSomeIndex,
                          std::shared_ptr&lt;Something&gt;
                              inSomething,
                          int x,
                          int y );
  </code></pre>
  
  <p>When I want it to do this:
  </p>
  
  <pre><code>bool importSomethingIn( const boost::property_tree::ptree&amp; inBoostTree,
                          int inSomeIndex,
                          std::shared_ptr&lt;Something&gt; inSomething,
                          int x,
                          int y );
  </code></pre>
  
  <p>Note that it is adding a newline and indent before the symbol <code>inSomething</code>.  It seems to always be the templated types that cause this behaviour.</p>
  
  <p>How can I stop it from doing this?</p>
  
  <p>Here is my current .clang-format:
  </p>
  
  <pre><code>BasedOnStyle: LLVM
  Language: Cpp
  AccessModifierOffset: -4
  AlignEscapedNewlinesLeft: false
  AlignTrailingComments: true
  AllowAllParametersOfDeclarationOnNextLine: true
  AllowShortFunctionsOnASingleLine: false
  AllowShortIfStatementsOnASingleLine: false
  AllowShortLoopsOnASingleLine: false
  AlwaysBreakAfterDefinitionReturnType: true
  AlwaysBreakBeforeMultilineStrings: false
  AlwaysBreakTemplateDeclarations: false
  BinPackParameters: false
  BreakBeforeBinaryOperators: false
  BreakBeforeBraces: Allman
  BreakBeforeTernaryOperators: false
  BreakConstructorInitializersBeforeComma: false
  ColumnLimit: 120
  CommentPragmas: ''
  ConstructorInitializerAllOnOneLineOrOnePerLine: false
  ConstructorInitializerIndentWidth: 4
  ContinuationIndentWidth: 4
  Cpp11BracedListStyle: true
  DerivePointerAlignment: false
  DerivePointerBinding: false
  ExperimentalAutoDetectBinPacking: false
  IndentCaseLabels: true
  IndentFunctionDeclarationAfterType: true
  IndentWidth: 4
  IndentWrappedFunctionNames: false
  KeepEmptyLinesAtTheStartOfBlocks: false
  MaxEmptyLinesToKeep: 2
  NamespaceIndentation: All
  ObjCBlockIndentWidth: 4
  ObjCSpaceAfterProperty: true
  ObjCSpaceBeforeProtocolList: true
  PenaltyBreakBeforeFirstCallParameter: 19
  PenaltyBreakComment: 300
  PenaltyBreakFirstLessLess: 120
  PenaltyBreakString: 1000
  PenaltyExcessCharacter: 1000
  PenaltyReturnTypeOnItsOwnLine: 60
  PointerAlignment: Left
  PointerBindsToType: true
  SpaceBeforeAssignmentOperators: true
  SpaceBeforeParens: ControlStatements
  SpaceInEmptyParentheses: false
  SpacesBeforeTrailingComments: 1
  SpacesInAngles: false
  SpacesInContainerLiterals: true
  SpacesInCStyleCastParentheses: false
  SpacesInParentheses: true
  Standard: Cpp11
  TabWidth: 8
  UseTab: Never
  </code></pre>
  
  <p>Edit: I am using the clang format Xcode plugin which I obtained <a href="https://github.com/travisjeffery/ClangFormat-Xcode">here</a> on github July 2016 (first installed Alcatraz then clang format plugin with Aclatraz).  I'm not entirely sure where the clang-format binary is, thus haven't seen the version number for the one that came with the plugin.</p>
  
  <p>However, based on the suggestions below I installed clang-format using Homebrew which gave me version 3.9.0.  I then set the Xcode plugin to "use system clang-format" and I got the desired result, so I guess it must have been a bug.</p>