Skip to content

Commit 68ac3d8

Browse files
committed
add hidden files that didn't copy before
1 parent 296baff commit 68ac3d8

3 files changed

Lines changed: 268 additions & 0 deletions

File tree

.clang-format

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Language: Cpp
2+
BasedOnStyle: LLVM
3+
AlignConsecutiveAssignments: true
4+
AlwaysBreakTemplateDeclarations: true
5+
BreakBeforeBraces: Custom
6+
BraceWrapping:
7+
AfterClass: true
8+
AfterControlStatement: true
9+
AfterCaseLabel: true
10+
AfterEnum: true
11+
AfterFunction: true
12+
AfterNamespace: true
13+
AfterObjCDeclaration: true
14+
AfterStruct: true
15+
AfterUnion: true
16+
BeforeCatch: true
17+
BeforeElse: true
18+
IndentBraces: false
19+
IndentCaseLabels: true
20+
BreakBeforeBinaryOperators: None
21+
BreakBeforeTernaryOperators: true
22+
BreakConstructorInitializersBeforeComma: true
23+
PointerAlignment: Left
24+
BinPackParameters: true
25+
BinPackArguments: true
26+
AlignTrailingComments: true
27+
AlignAfterOpenBracket: true
28+
IndentWidth: 4
29+
AccessModifierOffset: -4
30+
ColumnLimit: 120
31+
SpaceBeforeParens: Custom
32+
SpaceBeforeParensOptions:
33+
AfterControlStatements: false
34+
AfterFunctionDefinitionName: false
35+
AfterFunctionDeclarationName: false
36+
AfterOverloadedOperator: false
37+
BeforeNonEmptyParentheses: false
38+
SpaceBeforeRangeBasedForLoopColon: false
39+
SpacesInParens: Custom
40+
SpacesInParensOptions:
41+
InConditionalStatements: true
42+
InEmptyParentheses: false
43+
Other: true
44+
45+
# IncludeBlocks: Regroup
46+
# IncludeCategories:
47+
# - Regex: '^"(.*)\.h"'
48+
# Priority: 1
49+
50+
# SortIncludes: true
51+
IncludeIsMainRegex: '.*'

.clang-tidy

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
Checks: >
3+
*,
4+
-fuchsia-*,
5+
-zircon-*,
6+
-abseil-*,
7+
-altera-*,
8+
-llvm-*,
9+
-llvmlibc-*,
10+
-readability-identifier-length,
11+
-misc-no-recursion,
12+
-performance-enum-size,
13+
-readability-qualified-auto,
14+
-cppcoreguidelines-owning-memory,
15+
16+
CheckOptions:
17+
- key: google-readability-braces-around-statements.ShortStatementLines
18+
value: '1'
19+
- key: google-readability-function-size.StatementThreshold
20+
value: '100'
21+
- key: google-readability-namespace-comments.SpacesBeforeComments
22+
value: '2'
23+
- key: readability-identifier-naming.NamespaceCase
24+
value: camelBack
25+
- key: readability-identifier-naming.ClassCase
26+
value: CamelCase
27+
- key: readability-identifier-naming.FunctionCase
28+
value: camelBack
29+
- key: readability-identifier-naming.VariableCase
30+
value: camelBack
31+
- key: readability-identifier-naming.PrivateMemberPrefix
32+
value: m_
33+
- key: readability-identifier-naming.ClassConstantCase
34+
value: camelBack
35+
- key: readability-identifier-naming.ClassConstantPrefix
36+
value: s_
37+
- key: readability-identifier-naming.GlobalConstantCase
38+
value: camelBack
39+
- key: readability-identifier-naming.GlobalConstantPrefix
40+
value: s_
41+
- key: readability-identifier-naming.GlobalVariableCase
42+
value: camelBack
43+
- key: readability-identifier-naming.GlobalVariablePrefix
44+
value: g_
45+
- key: readability-identifier-naming.LocalVariableCase
46+
value: camelBack
47+
- key: readability-identifier-naming.ParameterCase
48+
value: camelBack
49+
- key: readability-identifier-naming.EnumCase
50+
value: CamelCase
51+
- key: readability-identifier-naming.EnumConstantCase
52+
value: CamelCase
53+
- key: readability-identifier-naming.StructCase
54+
value: CamelCase
55+
- key: readability-identifier-naming.UnionCase
56+
value: CamelCase
57+
- key: readability-identifier-naming.TypeAliasCase
58+
value: CamelCase
59+
- key: readability-identifier-naming.MacroDefinitionCase
60+
value: UPPER_CASE
61+
- key: readability-identifier-naming.TemplateParameterCase
62+
value: CamelCase
63+
- key: llvm-header-guard.HeaderGuardStyle
64+
value: 'pragma'
65+
66+
WarningsAsErrors: ''
67+
HeaderFilterRegex: '.*'
68+
FormatStyle: none
69+
SystemHeaders: false
70+
UseColor: true

.gitignore

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/cmake,conan,visualstudiocode,c++,windows,linux
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=cmake,conan,visualstudiocode,c++,windows,linux
3+
4+
### C++ ###
5+
# Prerequisites
6+
*.d
7+
8+
# Compiled Object files
9+
build/
10+
*.slo
11+
*.lo
12+
*.o
13+
*.obj
14+
15+
# Precompiled Headers
16+
*.gch
17+
*.pch
18+
19+
# Compiled Dynamic libraries
20+
*.so
21+
*.dylib
22+
*.dll
23+
24+
# Fortran module files
25+
*.mod
26+
*.smod
27+
28+
# Compiled Static libraries
29+
*.lai
30+
*.la
31+
*.a
32+
*.lib
33+
34+
# Executables
35+
*.exe
36+
*.out
37+
*.app
38+
39+
### CMake ###
40+
CMakeLists.txt.user
41+
CMakeCache.txt
42+
CMakeFiles
43+
CMakeScripts
44+
Testing
45+
Makefile
46+
cmake_install.cmake
47+
install_manifest.txt
48+
compile_commands.json
49+
CTestTestfile.cmake
50+
_deps
51+
52+
### CMake Patch ###
53+
CMakeUserPresets.json
54+
55+
# External projects
56+
*-prefix/
57+
58+
### Conan ###
59+
# Conan build information
60+
conan.lock
61+
conanbuildinfo.*
62+
conaninfo.txt
63+
graph_info.json
64+
65+
## Various built-in generators
66+
# cmake_find_package generator https://docs.conan.io/en/latest/reference/generators/cmake_find_package.html
67+
Find*.cmake
68+
69+
# cmake_paths generator https://docs.conan.io/en/1.4/integrations/cmake/cmake_paths_generator.html
70+
conan_paths.*
71+
72+
# Environment activation scripts produced by https://docs.conan.io/en/latest/mastering/virtualenv.html#virtualenv-generator
73+
activate_run.ps1
74+
activate_run.sh
75+
deactivate_run.ps1
76+
deactivate_run.sh
77+
environment_run.ps1.env
78+
environment_run.sh.env
79+
80+
### Linux ###
81+
*~
82+
83+
# temporary files which can be created if a process still has a handle open of a deleted file
84+
.fuse_hidden*
85+
86+
# KDE directory preferences
87+
.directory
88+
89+
# Linux trash folder which might appear on any partition or disk
90+
.Trash-*
91+
92+
# .nfs files are created when an open file is removed but is still being accessed
93+
.nfs*
94+
95+
### VisualStudioCode ###
96+
.vscode/*
97+
!.vscode/settings.json
98+
!.vscode/tasks.json
99+
!.vscode/launch.json
100+
!.vscode/extensions.json
101+
!.vscode/*.code-snippets
102+
103+
# Local History for Visual Studio Code
104+
.history/
105+
106+
# Built Visual Studio Code Extensions
107+
*.vsix
108+
109+
### VisualStudioCode Patch ###
110+
# Ignore all local history of files
111+
.history
112+
.ionide
113+
114+
### Windows ###
115+
# Windows thumbnail cache files
116+
Thumbs.db
117+
Thumbs.db:encryptable
118+
ehthumbs.db
119+
ehthumbs_vista.db
120+
121+
# Dump file
122+
*.stackdump
123+
124+
# Folder config file
125+
[Dd]esktop.ini
126+
127+
# Recycle Bin used on file shares
128+
$RECYCLE.BIN/
129+
130+
# Windows Installer files
131+
*.cab
132+
*.msi
133+
*.msix
134+
*.msm
135+
*.msp
136+
137+
# Windows shortcuts
138+
*.lnk
139+
140+
# End of https://www.toptal.com/developers/gitignore/api/cmake,conan,visualstudiocode,c++,windows,linux
141+
142+
# clangd
143+
.cache/
144+
145+
# user specific files
146+
*user*
147+
tmp/

0 commit comments

Comments
 (0)