clang-format: tweak configuration

Update the configuration to reflect the style more accurately.  Pointers
are tied to the left.  Braces are split on classes/structs and
functions.

llvm-svn: 290857
This commit is contained in:
Saleem Abdulrasool 2017-01-03 04:23:52 +00:00
parent 833094463c
commit 720fb14cdd
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ BasedOnStyle: LLVM
Language: Cpp
AlwaysBreakTemplateDeclarations: true
AllowShortFunctionsOnASingleLine: Inline
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterFunction: true
PointerAlignment: Left
# Disable formatting options which may break tests.
SortIncludes: false