mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Add .clang-format for Impala's C++ style
Change-Id: I274c5993c7be344fc4b7729d21a13da993f9f3aa Reviewed-on: http://gerrit.cloudera.org:8080/3886 Reviewed-by: Jim Apple <jbapple@cloudera.com> Tested-by: Internal Jenkins
This commit is contained in:
committed by
Internal Jenkins
parent
f5541d6040
commit
19a2dcfbec
13
.clang-format
Normal file
13
.clang-format
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
BasedOnStyle: Google
|
||||||
|
AlignAfterOpenBracket: 'false'
|
||||||
|
AlignOperands: 'false'
|
||||||
|
AllowShortFunctionsOnASingleLine: 'Inline'
|
||||||
|
AllowShortIfStatementsOnASingleLine: 'true'
|
||||||
|
BreakBeforeBinaryOperators: 'NonAssignment'
|
||||||
|
BreakBeforeTernaryOperators: 'false'
|
||||||
|
ColumnLimit: '90'
|
||||||
|
ConstructorInitializerIndentWidth: '2'
|
||||||
|
ContinuationIndentWidth: '4'
|
||||||
|
PenaltyBreakBeforeFirstCallParameter: '99999999'
|
||||||
|
SpacesBeforeTrailingComments: '1'
|
||||||
|
Standard: 'Cpp11'
|
||||||
Reference in New Issue
Block a user