-
-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STYLE: Use vtk .clang-format for code style
- Loading branch information
1 parent
58a1267
commit fca8b06
Showing
16 changed files
with
1,929 additions
and
2,385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Note: if you change any of the settings here, please reformat the entire | ||
# codebase as part of the same commit, that will prevent subsequent commits | ||
# from being flagged as being improperly formatted. | ||
|
||
--- | ||
# This configuration requires clang-format 8.0 or higher. | ||
BasedOnStyle: Mozilla | ||
AlignAfterOpenBracket: DontAlign | ||
AlignOperands: false | ||
AlwaysBreakAfterReturnType: None | ||
AlwaysBreakAfterDefinitionReturnType: None | ||
BreakBeforeBraces: Allman | ||
BinPackArguments: true | ||
BinPackParameters: true | ||
ColumnLimit: 100 | ||
SpaceAfterTemplateKeyword: true | ||
Standard: Cpp11 | ||
StatementMacros: | ||
- PyObject_HEAD | ||
- PyObject_VAR_HEAD | ||
- vtkAbstractTypeMacro | ||
- vtkTypeMacro | ||
- vtkBaseTypeMacro | ||
- vtkAbstractTemplateTypeMacro | ||
- vtkAbstractTypeMacroWithNewInstanceType | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.