Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Shakib Haris
- # Clang Format Custom
- ---
- # We'll use defaults from the Google style
- BasedOnStyle : Google
- IndentWidth : 4
- ---
- Language : Cpp
- # Force pointers to the type for C++.
- DerivePointerAlignment : false
- PointerAlignment : Left
- ---
- Language : JavaScript
- # Use 100 columns for JS.
- ColumnLimit : 100
- ---
- Language : Proto
- # Don't format .proto files.
- DisableFormat : true
- ...
- AccessModifierOffset : 0
- AlignAfterOpenBracket : Align
- AlignConsecutiveAssignments : true
- AlignEscapedNewlinesLeft : false
- AlignOperands : false
- AlignTrailingComments : true
- AllowAllParametersOfDeclarationOnNextLine : true
- AllowShortBlocksOnASingleLine : false
- AllowShortCaseLabelsOnASingleLine : false
- AllowShortFunctionsOnASingleLine : Inline
- AllowShortIfStatementsOnASingleLine : true
- AllowShortLoopsOnASingleLine : true
- AlwaysBreakAfterDefinitionReturnType : None
- AlwaysBreakAfterReturnType : None
- AlwaysBreakBeforeMultilineStrings : false
- AlwaysBreakTemplateDeclarations : false
- BinPackArguments : false
- BinPackParameters : false
- # BraceWrapping .AfterClass : true
- # BraceWrapping .AfterControlStatement : true
- # BraceWrapping .AfterEnum : true
- # BraceWrapping .AfterFunction : true
- # BraceWrapping .AfterNamespace : true
- # BraceWrapping .AfterObjDeclaration : true
- # BraceWrapping .AfterStruct : true
- # BraceWrapping .AfterUnion : true
- # BraceWrapping .BeforeCatch : true
- # BraceWrapping .BeforeElse : true
- # BraceWrapping .IndentBraces : true
- BreakAfterJavaFieldAnnotation : true
- BreakBeforeBinaryOperators : None
- BreakBeforeBraces : Attach # Allman
- BreakBeforeTernaryOperators : false
- BreakConstructorInitializersBeforeComma : false
- BreakStringLiterals : false
- ColumnLimit : 100
- CommentPragmas : ''
- ConstructorInitializerAllOnOneLineOrOnePerLine : true
- ConstructorInitializerIndentWidth : 4
- ContinuationIndentWidth : 4
- Cpp11BracedListStyle : false
- # DerivePointerBinding : false
- DisableFormat : false
- ExperimentalAutoDetectBinPacking : false
- # ForEachMacros : ['RANGES_FOR', 'FOREACH', 'BOOST_FOREACH']
- # IncludeCategories :
- # IncludeIsMainRegex :
- IndentCaseLabels : false
- IndentFunctionDeclarationAfterType : false
- IndentWidth : 4
- IndentWrappedFunctionNames : true
- JavaScriptQuotes : Double # Use Double Quotes for JS Strings
- KeepEmptyLinesAtTheStartOfBlocks : false
- # Language : Cpp
- MacroBlockBegin :
- MacroBlockEnd :
- MaxEmptyLinesToKeep : 4
- NamespaceIndentation : All
- ObjCBlockIndentWidth : 4
- ObjCSpaceAfterProperty : true
- ObjCSpaceBeforeProtocolList : true
- PenaltyBreakBeforeFirstCallParameter : 100
- PenaltyBreakComment : 100
- PenaltyBreakFirstLessLess : 0
- PenaltyBreakString : 100
- PenaltyExcessCharacter : 1
- PenaltyReturnTypeOnItsOwnLine : 2000
- PointerAlignment : Left
- PointerBindsToType : 100
- ReflowComments : true
- SortIncludes : true
- SpaceAfterCStyleCast : false
- SpaceAfterTemplateKeyword : true
- SpaceBeforeAssignmentOperators : true
- SpaceBeforeParens : Always
- SpaceInEmptyParentheses : true
- SpacesBeforeTrailingComments : 1
- SpacesInAngles : false
- SpacesInCStyleCastParentheses : false
- SpacesInContainerLiterals : false
- SpacesInParentheses : false
- SpacesInSquareBrackets : false
- Standard : Auto
- TabWidth : 4
- UseTab : Never
- # END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement