Yzena
/
Yc
2
1
Fork 0
Browse Source

Remove the scripts submodule

afl_persistent_mode
Gavin Howard 4 years ago
parent
commit
d4aa0eecfd
Signed by: gavin
GPG Key ID: C08038BDF280D33E
  1. 116
      .clang-format
  2. 8
      .gitconfig
  3. 6
      .gitignore
  4. 4
      .gitmodules
  5. 1
      scripts

116
.clang-format

@ -0,0 +1,116 @@
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: 1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakBeforeBinaryOperators: None
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: AfterColon
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<(sys|arpa|net|netinet)/.*\.h>'
Priority: 4
- Regex: '^<yc/.*\.h>'
Priority: -1
- Regex: '^".*/.*/.*\.h"'
Priority: 2
- Regex: '^".*/.*\.h"'
Priority: 1
- Regex: '^".*\.h"'
Priority: 0
- Regex: '^<.*/.*\.h>'
Priority: 3
- Regex: '^<.*\.h>'
Priority: 5
- Regex: '^<.*>'
Priority: 6
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: true
IndentPPDirectives: AfterHash
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
#SpaceBeforeCtorInitializerColon: true
#SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
#SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 4
UseTab: ForIndentation
...

8
.gitconfig

@ -0,0 +1,8 @@
[diff]
submodule = log
[merge]
ff = false
[pull]
rebase = true
[alias]
root = !pwd

6
.gitignore vendored

@ -29,9 +29,3 @@
# QT Creator files
*.user
# Clang format file.
.clang-format
# Git config
.gitconfig

4
.gitmodules vendored

@ -6,7 +6,3 @@
path = lib/jemalloc
url = https://github.com/jemalloc/jemalloc.git
branch = master
[submodule "scripts"]
path = scripts
url = https://github.com/YzenaTech/Yscripts
branch = master

1
scripts

@ -1 +0,0 @@
Subproject commit e2fb5870ff5e6c01df584a971ff0e88f26278c4b
Loading…
Cancel
Save