Permalink
Browse files

Update Clang Format configuration to be compatible with Clang 3.8's o…

…ptions
  • Loading branch information...
1 parent cf916e3 commit 4263db515166a68c1f173b33f62e4cccec975fa6 @tonyarnold tonyarnold committed Jan 21, 2016
Showing with 28 additions and 3 deletions.
  1. +28 −3 .clang-format
View
@@ -1,13 +1,38 @@
BasedOnStyle: Chromium
AlignTrailingComments: true
+BraceWrapping:
+ AfterClass: true
+ AfterControlStatement: true
+ AfterEnum: true
+ AfterFunction: true
+ AfterNamespace: true
+ AfterObjCDeclaration: true
+ AfterStruct: true
+ AfterUnion: false
+ BeforeCatch: true
+ BeforeElse: true
+ IndentBraces: false
BreakBeforeBraces: Allman
ColumnLimit: 0
+IndentCaseLabels: true
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
+MaxEmptyLinesToKeep: 1
+NamespaceIndentation: None
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
-PointerBindsToType: false
+PointerAlignment: Right
+SpaceAfterCStyleCast: false
+SpaceBeforeAssignmentOperators: true
+SpaceBeforeParens: ControlStatements
+SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
-TabWidth: 8
-UseTab: Never
+SpacesInAngles: false
+SpacesInContainerLiterals: true
+SpacesInCStyleCastParentheses: false
+SpacesInParentheses: false
+SpacesInSquareBrackets: false
+Standard: Auto
+TabWidth: 4
+UseTab: Never

0 comments on commit 4263db5

Please sign in to comment.