Skip to content

Commit 0d6bc8f

Browse files
committed
chore: reduce clang-tidy issues
1 parent c75aa5c commit 0d6bc8f

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
Checks: 'clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,-modernize-use-trailing-return-type'
2+
Checks: 'clang-diagnostic-*,clang-analyzer-*,modernize-*'

Source/Ecsact/Public/EcsactAsyncRunner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
UCLASS(NotBlueprintable)
1111

1212
class UEcsactAsyncRunner : public UEcsactRunner {
13-
GENERATED_BODY()
13+
GENERATED_BODY() // NOLINT
1414
public:
1515
auto Tick(float DeltaTime) -> void override;
1616
auto GetStatId() const -> TStatId override;

Source/Ecsact/Public/EcsactRunner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
UCLASS(Abstract)
1010

1111
class UEcsactRunner : public UObject, public FTickableGameObject {
12-
GENERATED_BODY()
12+
GENERATED_BODY() // NOLINT
1313

1414
protected:
1515
UPROPERTY()

Source/Ecsact/Public/EcsactSettings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum class EEcsactRuntimeRunnerType : uint8 {
2626
UCLASS(Config = Ecsact, DefaultConfig)
2727

2828
class ECSACT_API UEcsactSettings : public UObject {
29-
GENERATED_BODY()
29+
GENERATED_BODY() // NOLINT
3030

3131
public:
3232
UEcsactSettings();

Source/Ecsact/Public/EcsactSyncRunner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
UCLASS(NotBlueprintable)
1111

1212
class UEcsactSyncRunner : public UEcsactRunner {
13-
GENERATED_BODY()
13+
GENERATED_BODY() // NOLINT
1414
public:
1515
// TODO: Put this somewhere good.
1616
ecsact_registry_id registry_id = ECSACT_INVALID_ID(registry);

Source/Ecsact/Public/EcsactUnrealEventsCollector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
UCLASS()
88

99
class UEcsactUnrealEventsCollector : public UObject {
10-
GENERATED_BODY()
10+
GENERATED_BODY() // NOLINT
1111

1212
ecsact_execution_events_collector evc;
1313

Source/Ecsact/Public/EcsactUnrealExecutionOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
UCLASS()
99

1010
class UEcsactUnrealExecutionOptions : public UObject {
11-
GENERATED_BODY()
11+
GENERATED_BODY() // NOLINT
1212

1313
TArray<ecsact_action> ActionList;
1414
TArray<ecsact_component> AddComponentList;

Source/EcsactUnrealCodegenPlugin/EcsactUnrealCodegenPlugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ static auto generate_header(ecsact::codegen_plugin_context ctx) -> void {
123123
prefix,
124124
comp_name
125125
),
126-
[&] { ctx.writef("GENERATED_BODY()"); }
126+
[&] { ctx.writef("GENERATED_BODY() // NOLINT"); }
127127
);
128128
ctx.writef(";\n");
129129

130130
block(
131131
ctx,
132132
std::format("class IEcsactRequires{}{}", prefix, comp_name),
133133
[&] {
134-
ctx.writef("GENERATED_BODY()\n");
134+
ctx.writef("GENERATED_BODY() // NOLINT\n");
135135
ctx.indentation -= 1;
136136
ctx.writef("\n");
137137
ctx.writef("public:");

0 commit comments

Comments
 (0)