Skip to content

Commit c2da007

Browse files
initial commitvvaltman
initial commit
authored and
vvaltman
committedSep 7, 2019
initial commit
0 parents  commit c2da007

File tree

1,610 files changed

+398047
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,610 files changed

+398047
-0
lines changed
 

‎.clang-format

+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Google
4+
AccessModifierOffset: -1
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: true
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: None # All
15+
AllowShortIfStatementsOnASingleLine: false # true
16+
AllowShortLoopsOnASingleLine: false # true
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
BinPackArguments: true
22+
BinPackParameters: true
23+
BraceWrapping:
24+
AfterClass: false
25+
AfterControlStatement: false
26+
AfterEnum: false
27+
AfterFunction: false
28+
AfterNamespace: false
29+
AfterObjCDeclaration: false
30+
AfterStruct: false
31+
AfterUnion: false
32+
BeforeCatch: false
33+
BeforeElse: false
34+
IndentBraces: false
35+
BreakBeforeBinaryOperators: None
36+
BreakBeforeBraces: Attach
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: true # false
39+
# BreakAfterJavaFieldAnnotations: false
40+
BreakStringLiterals: true
41+
ColumnLimit: 120 # 80
42+
CommentPragmas: '^ IWYU pragma:'
43+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
44+
ConstructorInitializerIndentWidth: 4
45+
ContinuationIndentWidth: 4
46+
Cpp11BracedListStyle: true
47+
DerivePointerAlignment: true
48+
DisableFormat: false
49+
ExperimentalAutoDetectBinPacking: false
50+
FixNamespaceComments: true
51+
# ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
52+
IndentCaseLabels: true
53+
IndentWidth: 2
54+
IndentWrappedFunctionNames: false
55+
# JavaScriptQuotes: Leave
56+
# JavaScriptWrapImports: true
57+
KeepEmptyLinesAtTheStartOfBlocks: false
58+
MacroBlockBegin: ''
59+
MacroBlockEnd: ''
60+
MaxEmptyLinesToKeep: 1
61+
NamespaceIndentation: None
62+
# ObjCBlockIndentWidth: 2
63+
# ObjCSpaceAfterProperty: false
64+
# ObjCSpaceBeforeProtocolList: false
65+
PenaltyBreakBeforeFirstCallParameter: 1
66+
PenaltyBreakComment: 300
67+
PenaltyBreakFirstLessLess: 120
68+
PenaltyBreakString: 1000
69+
PenaltyExcessCharacter: 1000000
70+
PenaltyReturnTypeOnItsOwnLine: 200
71+
PointerAlignment: Left
72+
ReflowComments: false # true
73+
SortIncludes: false # disabled, because we need case insensitive sort
74+
SpaceAfterCStyleCast: false
75+
SpaceAfterTemplateKeyword: true
76+
SpaceBeforeAssignmentOperators: true
77+
SpaceBeforeParens: ControlStatements
78+
SpaceInEmptyParentheses: false
79+
SpacesBeforeTrailingComments: 2
80+
SpacesInAngles: false
81+
SpacesInContainerLiterals: true
82+
SpacesInCStyleCastParentheses: false
83+
SpacesInParentheses: false
84+
SpacesInSquareBrackets: false
85+
Standard: Auto
86+
TabWidth: 100 # 8
87+
UseTab: Never
88+
...

‎.clang_complete

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
-xc++
2+
-std=c++14
3+
-iquote .
4+
-iquote tdtl/
5+
-iquote tl/
6+
-iquote tl/generate/
7+
-iquote tdactor/
8+
-iquote tdnet/
9+
-iquote tdutils/
10+
-iquote ../ton-build/tdutils/
11+
-iquote crypto/
12+
-I/opt/local/include/

0 commit comments

Comments
 (0)
Please sign in to comment.