Skip to content

Commit 96f69ac

Browse files
authored
Merge pull request #11 from apple1417/v3
v3 rewrite
2 parents e3eea94 + ecce53a commit 96f69ac

Some content is hidden

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

69 files changed

+8635
-3053
lines changed

.clang-format

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Chromium
4+
5+
AllowShortBlocksOnASingleLine: Empty
6+
BreakBeforeBinaryOperators: NonAssignment
7+
ColumnLimit: 100
8+
IndentWidth: 4
9+
InsertBraces: true
10+
SortIncludes: CaseInsensitive
11+
IncludeCategories:
12+
- Regex: '".*pch\.h"'
13+
Priority: -1
14+
CaseSensitive: true
15+
---

.clang-tidy

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
WarningsAsErrors: ""
3+
HeaderFilterRegex: "src/*.h"
4+
Checks: >
5+
-*,
6+
bugprone-*
7+
clang-analyzer-*,
8+
cppcoreguidelines-*,
9+
-cppcoreguidelines-avoid-do-while,
10+
-cppcoreguidelines-avoid-non-const-global-variables,
11+
-cppcoreguidelines-prefer-member-initializer,
12+
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
13+
-cppcoreguidelines-pro-type-reinterpret-cast,
14+
-cppcoreguidelines-pro-type-union-access,
15+
-cppcoreguidelines-pro-type-vararg,
16+
misc-*,
17+
-misc-include-cleaner,
18+
-misc-non-private-member-variables-in-classes,
19+
-misc-no-recursion,
20+
modernize-*,
21+
-modernize-avoid-c-arrays,
22+
-modernize-redundant-void-arg,
23+
-modernize-use-trailing-return-type,
24+
performance-*,
25+
-performance-no-int-to-ptr,
26+
portability-*,
27+
readability-*,
28+
-readability-qualified-auto,
29+
30+
-bugprone-narrowing-conversions,
31+
-cppcoreguidelines-avoid-c-arrays,
32+
-cppcoreguidelines-avoid-magic-numbers,
33+
-cppcoreguidelines-c-copy-assignment-signature,
34+
-cppcoreguidelines-explicit-virtual-functions,
35+
-cppcoreguidelines-macro-to-enum,
36+
-cppcoreguidelines-non-private-member-variables-in-classes,
37+
CheckOptions:
38+
cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor: true
39+
cppcoreguidelines-rvalue-reference-param-not-moved.IgnoreUnnamedParams: true
40+
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: true
41+
42+
readability-identifier-naming.GlobalConstantCase: UPPER_CASE
43+
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
44+
45+
readability-identifier-naming.ClassCase: CamelCase
46+
readability-identifier-naming.EnumCase: CamelCase
47+
readability-identifier-naming.StructCase: CamelCase
48+
49+
readability-identifier-naming.FunctionCase: lower_case
50+
readability-identifier-naming.MemberCase: lower_case
51+
readability-identifier-naming.NamespaceCase: lower_case
52+
readability-identifier-naming.ParameterCase: lower_case
53+
readability-identifier-naming.VariableCase: lower_case
54+
---

.clangd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Turn off include cleaner for now, since it can't handle exports yet, required to use a pch
2+
Diagnostics:
3+
UnusedIncludes: None
4+
---
5+
If:
6+
PathMatch: src/pch.h
7+
CompileFlags:
8+
# Treat the pch as c++
9+
Add: [-xc++]
10+
---
11+
# Suppress errors from outside the project
12+
If:
13+
PathExclude: .*((unrealsdk|pyunrealsdk)/)?src/.*
14+
Diagnostics:
15+
Suppress: '*'
16+
---
17+
# Suppress "expected expression" errors caused by variable substitutions
18+
If:
19+
PathMatch: src/.*\.in
20+
Diagnostics:
21+
Suppress: expected_expression

.cruft.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"template": "[email protected]:bl-sdk/common_dotfiles.git",
3+
"commit": "d03eee713ad436d20033d0598eb88f1529c56ca8",
4+
"checkout": null,
5+
"context": {
6+
"cookiecutter": {
7+
"_jinja2_env_vars": {
8+
"lstrip_blocks": true,
9+
"trim_blocks": true
10+
},
11+
"_extensions": [
12+
"cookiecutter.extensions.SlugifyExtension"
13+
],
14+
"project_name": "willow-mod-manager",
15+
"__project_slug": "willow_mod_manager",
16+
"include_cpp": true,
17+
"include_py": true,
18+
"_template": "[email protected]:bl-sdk/common_dotfiles.git"
19+
}
20+
},
21+
"directory": null
22+
}

0 commit comments

Comments
 (0)