Skip to content

Commit 4537724

Browse files
committed
Init
0 parents  commit 4537724

File tree

2,228 files changed

+694697
-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.

2,228 files changed

+694697
-0
lines changed

.clang-format

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: WebKit
4+
AccessModifierOffset: -4
5+
AlignAfterOpenBracket: DontAlign
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations: false
8+
AlignEscapedNewlinesLeft: false
9+
AlignOperands: false
10+
AlignTrailingComments: false
11+
AllowAllParametersOfDeclarationOnNextLine: true
12+
AllowShortBlocksOnASingleLine: false
13+
AllowShortCaseLabelsOnASingleLine: false
14+
AllowShortFunctionsOnASingleLine: Empty
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: true
25+
AfterControlStatement: true
26+
AfterEnum: true
27+
AfterFunction: true
28+
AfterNamespace: true
29+
AfterObjCDeclaration: false
30+
AfterStruct: true
31+
AfterUnion: true
32+
BeforeCatch: true
33+
BeforeElse: true
34+
IndentBraces: false
35+
BreakBeforeBinaryOperators: All
36+
BreakBeforeBraces: Custom
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializersBeforeComma: true
39+
ColumnLimit: 0
40+
CommentPragmas: '^ IWYU pragma:'
41+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
42+
ConstructorInitializerIndentWidth: 4
43+
ContinuationIndentWidth: 4
44+
Cpp11BracedListStyle: false
45+
DerivePointerAlignment: false
46+
DisableFormat: false
47+
ExperimentalAutoDetectBinPacking: false
48+
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
49+
IncludeCategories:
50+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
51+
Priority: 2
52+
- Regex: '^(<|"(gtest|isl|json)/)'
53+
Priority: 3
54+
- Regex: '.*'
55+
Priority: 1
56+
IndentCaseLabels: false
57+
IndentWidth: 4
58+
IndentWrappedFunctionNames: false
59+
KeepEmptyLinesAtTheStartOfBlocks: true
60+
MacroBlockBegin: ''
61+
MacroBlockEnd: ''
62+
MaxEmptyLinesToKeep: 1
63+
NamespaceIndentation: None
64+
ObjCBlockIndentWidth: 4
65+
ObjCSpaceAfterProperty: true
66+
ObjCSpaceBeforeProtocolList: true
67+
PenaltyBreakBeforeFirstCallParameter: 19
68+
PenaltyBreakComment: 300
69+
PenaltyBreakFirstLessLess: 120
70+
PenaltyBreakString: 1000
71+
PenaltyExcessCharacter: 1000000
72+
PenaltyReturnTypeOnItsOwnLine: 60
73+
PointerAlignment: Left
74+
ReflowComments: true
75+
SortIncludes: true
76+
SpaceAfterCStyleCast: false
77+
SpaceBeforeAssignmentOperators: true
78+
SpaceBeforeParens: ControlStatements
79+
SpaceInEmptyParentheses: false
80+
SpacesBeforeTrailingComments: 1
81+
SpacesInAngles: false
82+
SpacesInContainerLiterals: true
83+
SpacesInCStyleCastParentheses: false
84+
SpacesInParentheses: false
85+
SpacesInSquareBrackets: false
86+
Standard: Cpp11
87+
TabWidth: 4
88+
UseTab: Never
89+
...
90+

.gitignore

+247
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,247 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.swp
7+
*.user
8+
tags
9+
*.userosscache
10+
*.sln.docstates
11+
**/build/*
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
**/*.DS_Store
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
[Xx]64/
21+
[Xx]86/
22+
[Bb]uild/
23+
bld/
24+
[Bb]in/
25+
[Oo]bj/
26+
27+
# Visual Studio 2015 cache/options directory
28+
.vs/
29+
# Uncomment if you have tasks that create the project's static files in wwwroot
30+
#wwwroot/
31+
32+
# MSTest test Results
33+
[Tt]est[Rr]esult*/
34+
[Bb]uild[Ll]og.*
35+
36+
# NUNIT
37+
*.VisualState.xml
38+
TestResult.xml
39+
40+
# Build Results of an ATL Project
41+
[Dd]ebugPS/
42+
[Rr]eleasePS/
43+
dlldata.c
44+
45+
# DNX
46+
project.lock.json
47+
artifacts/
48+
49+
*_i.c
50+
*_p.c
51+
*_i.h
52+
*.ilk
53+
*.meta
54+
*.obj
55+
*.pch
56+
*.pdb
57+
*.pgc
58+
*.pgd
59+
*.rsp
60+
*.sbr
61+
*.tlb
62+
*.tli
63+
*.tlh
64+
*.tmp
65+
*.tmp_proj
66+
*.log
67+
*.vspscc
68+
*.vssscc
69+
.builds
70+
*.pidb
71+
*.svclog
72+
*.scc
73+
74+
# Chutzpah Test files
75+
_Chutzpah*
76+
77+
# Visual C++ cache files
78+
ipch/
79+
*.aps
80+
*.ncb
81+
*.opendb
82+
*.opensdf
83+
*.sdf
84+
*.cachefile
85+
*.VC.db
86+
87+
# Visual Studio profiler
88+
*.psess
89+
*.vsp
90+
*.vspx
91+
*.sap
92+
93+
# TFS 2012 Local Workspace
94+
$tf/
95+
96+
# Guidance Automation Toolkit
97+
*.gpState
98+
99+
# ReSharper is a .NET coding add-in
100+
_ReSharper*/
101+
*.[Rr]e[Ss]harper
102+
*.DotSettings.user
103+
104+
# JustCode is a .NET coding add-in
105+
.JustCode
106+
107+
# TeamCity is a build add-in
108+
_TeamCity*
109+
110+
# DotCover is a Code Coverage Tool
111+
*.dotCover
112+
113+
# NCrunch
114+
_NCrunch_*
115+
.*crunch*.local.xml
116+
nCrunchTemp_*
117+
118+
# MightyMoose
119+
*.mm.*
120+
AutoTest.Net/
121+
122+
# Web workbench (sass)
123+
.sass-cache/
124+
125+
# Installshield output folder
126+
[Ee]xpress/
127+
128+
# DocProject is a documentation generator add-in
129+
DocProject/buildhelp/
130+
DocProject/Help/*.HxT
131+
DocProject/Help/*.HxC
132+
DocProject/Help/*.hhc
133+
DocProject/Help/*.hhk
134+
DocProject/Help/*.hhp
135+
DocProject/Help/Html2
136+
DocProject/Help/html
137+
138+
# Click-Once directory
139+
publish/
140+
141+
# Publish Web Output
142+
*.[Pp]ublish.xml
143+
*.azurePubxml
144+
145+
# TODO: Un-comment the next line if you do not want to checkin
146+
# your web deploy settings because they may include unencrypted
147+
# passwords
148+
#*.pubxml
149+
*.publishproj
150+
151+
# NuGet Packages
152+
*.nupkg
153+
# The packages folder can be ignored because of Package Restore
154+
**/packages/*
155+
# except build/, which is used as an MSBuild target.
156+
!**/packages/build/
157+
# Uncomment if necessary however generally it will be regenerated when needed
158+
#!**/packages/repositories.config
159+
# NuGet v3's project.json files produces more ignoreable files
160+
*.nuget.props
161+
*.nuget.targets
162+
163+
# Microsoft Azure Build Output
164+
csx/
165+
*.build.csdef
166+
167+
# Microsoft Azure Emulator
168+
ecf/
169+
rcf/
170+
171+
# Microsoft Azure ApplicationInsights config file
172+
ApplicationInsights.config
173+
174+
# Windows Store app package directory
175+
AppPackages/
176+
BundleArtifacts/
177+
178+
# Visual Studio cache files
179+
# files ending in .cache can be ignored
180+
*.[Cc]ache
181+
# but keep track of directories ending in .cache
182+
!*.[Cc]ache/
183+
184+
# Others
185+
ClientBin/
186+
[Ss]tyle[Cc]op.*
187+
~$*
188+
*~
189+
*.dbmdl
190+
*.dbproj.schemaview
191+
*.pfx
192+
*.publishsettings
193+
node_modules/
194+
orleans.codegen.cs
195+
196+
# RIA/Silverlight projects
197+
Generated_Code/
198+
199+
# Backup & report files from converting an old project file
200+
# to a newer Visual Studio version. Backup files are not needed,
201+
# because we have git ;-)
202+
_UpgradeReport_Files/
203+
Backup*/
204+
UpgradeLog*.XML
205+
UpgradeLog*.htm
206+
207+
# SQL Server files
208+
*.mdf
209+
*.ldf
210+
211+
# Business Intelligence projects
212+
*.rdl.data
213+
*.bim.layout
214+
*.bim_*.settings
215+
216+
# Microsoft Fakes
217+
FakesAssemblies/
218+
219+
# GhostDoc plugin setting file
220+
*.GhostDoc.xml
221+
222+
# Node.js Tools for Visual Studio
223+
.ntvs_analysis.dat
224+
225+
# Visual Studio 6 build log
226+
*.plg
227+
228+
# Visual Studio 6 workspace options file
229+
*.opt
230+
231+
# Visual Studio LightSwitch build output
232+
**/*.HTMLClient/GeneratedArtifacts
233+
**/*.DesktopClient/GeneratedArtifacts
234+
**/*.DesktopClient/ModelManifest.xml
235+
**/*.Server/GeneratedArtifacts
236+
**/*.Server/ModelManifest.xml
237+
_Pvt_Extensions
238+
239+
# LightSwitch generated files
240+
GeneratedArtifacts/
241+
ModelManifest.xml
242+
243+
# Paket dependency manager
244+
.paket/paket.exe
245+
246+
# FAKE - F# Make
247+
.fake/

0 commit comments

Comments
 (0)