Skip to content

Commit adb216d

Browse files
committed
Cleanup
1 parent a5a0424 commit adb216d

File tree

105 files changed

+5320
-6034
lines changed

Some content is hidden

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

105 files changed

+5320
-6034
lines changed

.clang-format

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
AccessModifierOffset: -4
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveMacros: None
7+
AlignConsecutiveAssignments: None
8+
AlignConsecutiveDeclarations: None
9+
AlignEscapedNewlines: Left
10+
AlignOperands: DontAlign
11+
AlignTrailingComments: true
12+
AllowAllArgumentsOnNextLine: true
13+
AllowAllConstructorInitializersOnNextLine: true
14+
AllowAllParametersOfDeclarationOnNextLine: true
15+
AllowShortBlocksOnASingleLine: Empty
16+
AllowShortCaseLabelsOnASingleLine: true
17+
AllowShortEnumsOnASingleLine: true
18+
AllowShortFunctionsOnASingleLine: Empty
19+
AllowShortLambdasOnASingleLine: All
20+
AllowShortIfStatementsOnASingleLine: WithoutElse
21+
AllowShortLoopsOnASingleLine: true
22+
AlwaysBreakAfterDefinitionReturnType: None
23+
AlwaysBreakAfterReturnType: None
24+
AlwaysBreakBeforeMultilineStrings: false
25+
AlwaysBreakTemplateDeclarations: Yes
26+
BinPackArguments: true
27+
BinPackParameters: true
28+
BraceWrapping:
29+
AfterCaseLabel: false
30+
AfterClass: false
31+
AfterControlStatement: Never
32+
AfterEnum: false
33+
AfterFunction: false
34+
AfterNamespace: false
35+
AfterObjCDeclaration: false
36+
AfterStruct: false
37+
AfterUnion: false
38+
AfterExternBlock: false
39+
BeforeCatch: false
40+
BeforeElse: false
41+
IndentBraces: false
42+
SplitEmptyFunction: true
43+
SplitEmptyRecord: true
44+
SplitEmptyNamespace: true
45+
BreakBeforeBinaryOperators: None
46+
BreakBeforeBraces: Attach
47+
BreakBeforeInheritanceComma: false
48+
BreakInheritanceList: AfterColon
49+
BreakBeforeTernaryOperators: true
50+
BreakConstructorInitializers: AfterColon
51+
BreakStringLiterals: true
52+
ColumnLimit: 0
53+
CommentPragmas: '^ IWYU pragma:'
54+
CompactNamespaces: false
55+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
56+
ConstructorInitializerIndentWidth: 4
57+
ContinuationIndentWidth: 4
58+
Cpp11BracedListStyle: true
59+
DeriveLineEnding: true
60+
ExperimentalAutoDetectBinPacking: false
61+
FixNamespaceComments: true
62+
IncludeBlocks: Regroup
63+
IncludeCategories:
64+
- Regex: '^<ext/.*\.h>'
65+
Priority: 2
66+
SortPriority: 0
67+
- Regex: '^<.*\.h>'
68+
Priority: 1
69+
SortPriority: 0
70+
- Regex: '^<.*'
71+
Priority: 2
72+
SortPriority: 0
73+
- Regex: '.*'
74+
Priority: 3
75+
SortPriority: 0
76+
IncludeIsMainRegex: '([-_](test|unittest))?$'
77+
IncludeIsMainSourceRegex: ''
78+
IndentAccessModifiers: false
79+
IndentCaseLabels: true
80+
IndentGotoLabels: true
81+
IndentPPDirectives: None
82+
IndentWidth: 4
83+
IndentWrappedFunctionNames: false
84+
KeepEmptyLinesAtTheStartOfBlocks: false
85+
MaxEmptyLinesToKeep: 3
86+
NamespaceIndentation: None
87+
PenaltyBreakAssignment: 2
88+
PenaltyBreakBeforeFirstCallParameter: 1
89+
PenaltyBreakComment: 300
90+
PenaltyBreakFirstLessLess: 120
91+
PenaltyBreakString: 1000
92+
PenaltyBreakTemplateDeclaration: 10
93+
PenaltyExcessCharacter: 1000000
94+
PenaltyReturnTypeOnItsOwnLine: 200
95+
PointerAlignment: Left
96+
RawStringFormats:
97+
- Language: Cpp
98+
Delimiters:
99+
- cc
100+
- CC
101+
- cpp
102+
- Cpp
103+
- CPP
104+
- 'c++'
105+
- 'C++'
106+
CanonicalDelimiter: ''
107+
BasedOnStyle: google
108+
ReferenceAlignment: Left
109+
ReflowComments: true
110+
SortIncludes: Never
111+
SortUsingDeclarations: false
112+
SpaceAfterCStyleCast: false
113+
SpaceAfterLogicalNot: false
114+
SpaceAfterTemplateKeyword: false
115+
SpaceBeforeAssignmentOperators: true
116+
SpaceBeforeCpp11BracedList: false
117+
SpaceBeforeCtorInitializerColon: true
118+
SpaceBeforeInheritanceColon: true
119+
SpaceBeforeParens: ControlStatements
120+
SpaceBeforeRangeBasedForLoopColon: true
121+
SpaceInEmptyBlock: false
122+
SpaceInEmptyParentheses: false
123+
SpacesBeforeTrailingComments: 2
124+
SpacesInAngles: Never
125+
SpacesInConditionalStatement: false
126+
SpacesInContainerLiterals: false
127+
SpacesInCStyleCastParentheses: false
128+
SpacesInParentheses: false
129+
SpacesInSquareBrackets: false
130+
SpaceBeforeSquareBrackets: false
131+
Standard: Auto
132+
StatementMacros:
133+
- UPROEPRTY
134+
- UFUNCTION
135+
- UCLASS
136+
- USTRUCT
137+
- UENUM
138+
- UMETA
139+
TabWidth: 8
140+
UseCRLF: false
141+
UseTab: Never

Source/GamemakinLinter/GamemakinLinter.Build.cs

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,10 @@
22

33
using UnrealBuildTool;
44

5-
public class GamemakinLinter : ModuleRules
6-
{
7-
public GamemakinLinter(ReadOnlyTargetRules Target) : base(Target)
8-
{
9-
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
5+
public class GamemakinLinter : ModuleRules {
6+
public GamemakinLinter(ReadOnlyTargetRules Target) : base(Target) {
7+
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
108

11-
PublicDependencyModuleNames.AddRange(
12-
new []
13-
{
14-
"Core",
15-
"CoreUObject",
16-
"Engine",
17-
"Linter"
18-
});
19-
20-
PrivateDependencyModuleNames.AddRange(
21-
new string[]
22-
{
23-
});
24-
}
9+
PublicDependencyModuleNames.AddRange(new[] { "Core", "CoreUObject", "Engine", "Linter" });
10+
}
2511
}

Source/GamemakinLinter/Private/GamemakinLinter.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22

33
#include "GamemakinLinter.h"
44

5-
#define LOCTEXT_NAMESPACE "FGamemakinLinterModule"
65

7-
void FGamemakinLinterModule::StartupModule()
8-
{
9-
// Super::StartupModule();
10-
}
11-
12-
void FGamemakinLinterModule::ShutdownModule()
13-
{
14-
// Super::ShutdownModule();
15-
}
16-
17-
#undef LOCTEXT_NAMESPACE
18-
196
IMPLEMENT_MODULE(FGamemakinLinterModule, GamemakinLinter)
20-
DEFINE_LOG_CATEGORY(LogGamemakinLinter);
7+
DEFINE_LOG_CATEGORY(LogGamemakinLinter);

0 commit comments

Comments
 (0)