Skip to content

Commit 7e9ad41

Browse files
committed
Initial commit
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
0 parents  commit 7e9ad41

File tree

1,350 files changed

+233156
-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,350 files changed

+233156
-0
lines changed

.clang-format

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: LLVM
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: false
9+
AlignOperands: true
10+
AlignTrailingComments: true
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: All
15+
AllowShortIfStatementsOnASingleLine: false
16+
AllowShortLoopsOnASingleLine: false
17+
AlwaysBreakAfterDefinitionReturnType: None
18+
AlwaysBreakAfterReturnType: None
19+
AlwaysBreakBeforeMultilineStrings: false
20+
AlwaysBreakTemplateDeclarations: false
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: false
36+
BreakBeforeBraces: Attach
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: false
39+
# clang-format > v3.8.0: BreakAfterJavaFieldAnnotations: false
40+
# clang-format > v3.8.0: BreakStringLiterals: true
41+
ColumnLimit: 0
42+
CommentPragmas: '^ IWYU pragma:'
43+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
44+
ConstructorInitializerIndentWidth: 4
45+
ContinuationIndentWidth: 4
46+
Cpp11BracedListStyle: true
47+
DerivePointerAlignment: false
48+
DisableFormat: false
49+
ExperimentalAutoDetectBinPacking: false
50+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
51+
IncludeCategories:
52+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
53+
Priority: 2
54+
- Regex: '^(<|"(gtest|isl|json)/)'
55+
Priority: 3
56+
- Regex: '.*'
57+
Priority: 1
58+
IndentCaseLabels: false
59+
IndentWidth: 4
60+
IndentWrappedFunctionNames: false
61+
KeepEmptyLinesAtTheStartOfBlocks: true
62+
MacroBlockBegin: ''
63+
MacroBlockEnd: ''
64+
MaxEmptyLinesToKeep: 1
65+
NamespaceIndentation: None
66+
ObjCBlockIndentWidth: 2
67+
ObjCSpaceAfterProperty: false
68+
ObjCSpaceBeforeProtocolList: true
69+
PenaltyBreakBeforeFirstCallParameter: 19
70+
PenaltyBreakComment: 300
71+
PenaltyBreakFirstLessLess: 120
72+
PenaltyBreakString: 1000
73+
PenaltyExcessCharacter: 1000000
74+
PenaltyReturnTypeOnItsOwnLine: 60
75+
PointerAlignment: Right
76+
ReflowComments: true
77+
SortIncludes: false
78+
SpaceAfterCStyleCast: false
79+
SpaceBeforeAssignmentOperators: true
80+
SpaceBeforeParens: ControlStatements
81+
SpaceInEmptyParentheses: false
82+
SpacesBeforeTrailingComments: 1
83+
SpacesInAngles: false
84+
SpacesInContainerLiterals: true
85+
SpacesInCStyleCastParentheses: false
86+
SpacesInParentheses: false
87+
SpacesInSquareBrackets: false
88+
Standard: Cpp11
89+
TabWidth: 8
90+
UseTab: Never
91+
...
92+

.clang-tidy

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
Checks: 'clang-diagnostic-*,clang-analyzer-*,google-default-arguments,readability-identifier-naming,modernize-use-override,modernize-use-default-member-init,-clang-analyzer-alpha*,-clang-analyzer-core.StackAddressEscape,-clang-analyzer-optin.performance.Padding,-clang-analyzer-cplusplus.NewDeleteLeaks'
3+
# WarningsAsErrors: '.*'
4+
HeaderFilterRegex: 'runtime/'
5+
AnalyzeTemporaryDtors: false
6+
CheckOptions:
7+
- key: google-readability-braces-around-statements.ShortStatementLines
8+
value: '1'
9+
- key: google-readability-function-size.StatementThreshold
10+
value: '800'
11+
- key: google-readability-namespace-comments.ShortNamespaceLines
12+
value: '10'
13+
- key: google-readability-namespace-comments.SpacesBeforeComments
14+
value: '2'
15+
- key: readability-identifier-naming.MethodCase
16+
value: camelBack
17+
- key: readability-identifier-naming.ParameterCase
18+
value: camelBack
19+
- key: readability-identifier-naming.StructMemberCase
20+
value: camelBack
21+
- key: readability-identifier-naming.ClassMemberCase
22+
value: camelBack
23+
- key: readability-identifier-naming.ClassMethodCase
24+
value: camelBack
25+
- key: modernize-loop-convert.MaxCopySize
26+
value: '16'
27+
- key: modernize-loop-convert.MinConfidence
28+
value: reasonable
29+
- key: modernize-loop-convert.NamingStyle
30+
value: CamelCase
31+
- key: modernize-pass-by-value.IncludeStyle
32+
value: llvm
33+
- key: modernize-replace-auto-ptr.IncludeStyle
34+
value: llvm
35+
- key: modernize-use-nullptr.NullMacros
36+
value: 'NULL'
37+
- key: modernize-use-default-member-init.UseAssignment
38+
value: '1'
39+
...
40+

.ctags

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-R
2+
-h .inl.h
3+
--langmap=c++:.inl.cpp.h

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
manifests/manifest.yml filter=repo_converter

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/*
2+
build_linux/*

0 commit comments

Comments
 (0)