-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7a2e598
Showing
554 changed files
with
245,286 additions
and
0 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,5 @@ | ||
-Icommon | ||
-Icommon/sys | ||
-Iinclude | ||
-Iinclude/pastix | ||
|
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,103 @@ | ||
# clang format by PaStiX team | ||
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html | ||
# https://clangformat.com/ | ||
--- | ||
Language: Cpp | ||
# BasedOnStyle: Google | ||
AccessModifierOffset: -1 | ||
AlignAfterOpenBracket: Align | ||
AlignConsecutiveAssignments: true | ||
AlignConsecutiveDeclarations: true | ||
AlignEscapedNewlines: Right | ||
#AlignEscapedNewlinesLeft: false | ||
AlignOperands: true | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
#AlwaysBreakAfterDefinitionReturnType: None | ||
AlwaysBreakAfterReturnType: TopLevelDefinitions | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
# BreakBeforeBraces: Attach | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: false | ||
AfterEnum: false | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterObjCDeclaration: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
BeforeCatch: true | ||
BeforeElse: true | ||
IndentBraces: false | ||
SplitEmptyFunction: false | ||
BreakBeforeBinaryOperators: None | ||
|
||
BreakBeforeTernaryOperators: true | ||
BreakConstructorInitializersBeforeComma: false | ||
BreakAfterJavaFieldAnnotations: false | ||
BreakStringLiterals: true | ||
ColumnLimit: 100 | ||
CommentPragmas: '^ IWYU pragma:' | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
ConstructorInitializerIndentWidth: 4 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
DerivePointerAlignment: false | ||
DisableFormat: false | ||
# ExperimentalAutoDetectBinPacking: false | ||
# ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | ||
IncludeCategories: | ||
- Regex: '^<.*\.h>' | ||
Priority: 1 | ||
- Regex: '^<.*' | ||
Priority: 2 | ||
- Regex: '.*' | ||
Priority: 3 | ||
IncludeIsMainRegex: '([-_](test|unittest))?$' | ||
IndentCaseLabels: true | ||
IndentWidth: 4 | ||
IndentWrappedFunctionNames: false | ||
JavaScriptQuotes: Leave | ||
JavaScriptWrapImports: true | ||
KeepEmptyLinesAtTheStartOfBlocks: false | ||
MacroBlockBegin: '' | ||
MacroBlockEnd: '' | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
ObjCBlockIndentWidth: 2 | ||
ObjCSpaceAfterProperty: false | ||
ObjCSpaceBeforeProtocolList: false | ||
PenaltyBreakBeforeFirstCallParameter: 1 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyBreakString: 1000 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
PointerAlignment: Right | ||
ReflowComments: true | ||
SortIncludes: false | ||
SpaceAfterCStyleCast: false | ||
SpaceAfterTemplateKeyword: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: ControlStatements | ||
#SpaceBeforeRangeBasedForLoopColon: false | ||
SpaceInEmptyParentheses: false | ||
SpacesBeforeTrailingComments: 2 | ||
SpacesInAngles: false | ||
SpacesInContainerLiterals: true | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: true | ||
SpacesInSquareBrackets: false | ||
Standard: Auto | ||
TabWidth: 4 | ||
UseTab: Never | ||
... |
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,105 @@ | ||
;; C style for Emacs, to assist in following DAGuE coding conventions (originally from PETSc project) | ||
((nil . ((indent-tabs-mode . nil) | ||
(tab-width . 8) | ||
(show-trailing-whitespace . t))) | ||
(c-mode . ((c-tab-always-indent . t) | ||
(c-basic-offset . 4) | ||
(c-comment-only-line-offset . 0) | ||
(c-hanging-braces-alist . ((substatement-open after) | ||
(brace-list-open after) | ||
(brace-entry-open) | ||
(defun-open after) | ||
(class-open after) | ||
(inline-open after) | ||
(block-open after) | ||
(block-close . c-snug-do-while) | ||
(statement-case-open after) | ||
(substatement after))) | ||
(c-hanging-colons-alist . ((member-init-intro before) | ||
(inher-intro) | ||
(case-label after) | ||
(label after) | ||
(access-label after))) | ||
(c-hanging-semi&comma-criteria . (c-semi&comma-no-newlines-before-nonblanks)) | ||
(c-cleanup-list . (scope-operator | ||
brace-else-brace | ||
brace-elseif-brace | ||
brace-catch-brace | ||
empty-defun-braces | ||
list-close-comma | ||
defun-close-semi)) | ||
(c-offsets-alist . ((inexpr-class . +) | ||
(inexpr-statement . +) | ||
(lambda-intro-cont . +) | ||
(inlambda . c-lineup-inexpr-block) | ||
(template-args-cont c-lineup-template-args +) | ||
(incomposition . +) | ||
(inmodule . +) | ||
(innamespace . +) | ||
(inextern-lang . +) | ||
(composition-close . 0) | ||
(module-close . 0) | ||
(namespace-close . 0) | ||
(extern-lang-close . 0) | ||
(composition-open . 0) | ||
(module-open . 0) | ||
(namespace-open . 0) | ||
(extern-lang-open . 0) | ||
(objc-method-call-cont c-lineup-ObjC-method-call-colons c-lineup-ObjC-method-call +) | ||
(objc-method-args-cont . c-lineup-ObjC-method-args) | ||
(objc-method-intro . | ||
[0]) | ||
(friend . 0) | ||
(cpp-define-intro c-lineup-cpp-define +) | ||
(cpp-macro-cont . +) | ||
(cpp-macro . | ||
[0]) | ||
(inclass . +) | ||
(stream-op . c-lineup-streamop) | ||
(arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) | ||
(arglist-cont c-lineup-gcc-asm-reg 0) | ||
(arglist-intro . +) | ||
(catch-clause . 0) | ||
(else-clause . 0) | ||
(do-while-closure . 0) | ||
(label . 2) | ||
(access-label . -) | ||
(substatement-label . 2) | ||
(substatement . +) | ||
(statement-case-open . 0) | ||
(statement-case-intro . +) | ||
(statement-block-intro . +) | ||
(statement-cont . +) | ||
(statement . 0) | ||
(brace-entry-open . 0) | ||
(brace-list-entry . 0) | ||
(brace-list-intro . +) | ||
(brace-list-close . 0) | ||
(brace-list-open . 0) | ||
(block-close . 0) | ||
(inher-cont . c-lineup-multi-inher) | ||
(inher-intro . +) | ||
(member-init-cont . c-lineup-multi-inher) | ||
(member-init-intro . +) | ||
(annotation-var-cont . +) | ||
(annotation-top-cont . 0) | ||
(topmost-intro-cont . c-lineup-topmost-intro-cont) | ||
(topmost-intro . 0) | ||
(knr-argdecl . 0) | ||
(func-decl-cont . +) | ||
(inline-close . 0) | ||
(inline-open . +) | ||
(class-close . 0) | ||
(class-open . 0) | ||
(defun-block-intro . +) | ||
(defun-close . 0) | ||
(defun-open . 0) | ||
(string . c-lineup-dont-change) | ||
(arglist-close . c-lineup-arglist) | ||
(substatement-open . 0) | ||
(case-label . 0) | ||
(block-open . 0) | ||
(c . 1) | ||
(comment-intro . 0) | ||
(knr-argdecl-intro . -))) | ||
(fill-column . 80)))) |
Oops, something went wrong.