Skip to content

Commit 4743d27

Browse files
shad0wshayd3github-actions[bot]
authored andcommitted
maintenance
1 parent b02089b commit 4743d27

88 files changed

Lines changed: 760 additions & 711 deletions

Some content is hidden

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

AddressLibGen/src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ void write_binaries(version_map& a_versionMap)
223223
std::ofstream file;
224224
const auto binary_write = [&file](auto&& a_data) {
225225
file.write(
226-
reinterpret_cast<const char*>(std::addressof(a_data)),
227-
sizeof(std::remove_reference_t<decltype(a_data)>));
226+
reinterpret_cast<const char*>(std::addressof(a_data)),
227+
sizeof(std::remove_reference_t<decltype(a_data)>));
228228
};
229229

230230
std::string filename;

CommonLibF4/include/F4SE/Impl/PCH.h

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,13 @@ namespace F4SE
100100
requires(
101101
const K& a_transparent,
102102
const typename C::key_type& a_key,
103-
typename C::key_compare& a_compare)
104-
{
105-
typename C::key_compare::is_transparent;
106-
// clang-format off
103+
typename C::key_compare& a_compare) {
104+
typename C::key_compare::is_transparent;
105+
// clang-format off
107106
{ a_compare(a_transparent, a_key) } -> std::convertible_to<bool>;
108107
{ a_compare(a_key, a_transparent) } -> std::convertible_to<bool>;
109-
// clang-format on
110-
};
108+
// clang-format on
109+
};
111110

112111
namespace nttp
113112
{
@@ -147,9 +146,9 @@ namespace F4SE
147146
string(const CharT (&)[N]) -> string<CharT, N - 1>;
148147
}
149148

150-
template <class EF> //
151-
requires(std::invocable<std::remove_reference_t<EF>>) //
152-
class scope_exit
149+
template <class EF> //
150+
requires(std::invocable<std::remove_reference_t<EF>>) //
151+
class scope_exit
153152
{
154153
public:
155154
// 1)
@@ -257,7 +256,7 @@ namespace F4SE
257256
counted_function_iterator operator++(int) noexcept
258257
{
259258
counted_function_iterator tmp{ *this };
260-
operator++();
259+
operator++();
261260
return tmp;
262261
}
263262

@@ -285,9 +284,9 @@ namespace F4SE
285284

286285
template <class... Args>
287286
enumeration(Args...) -> enumeration<
288-
std::common_type_t<Args...>,
289-
std::underlying_type_t<
290-
std::common_type_t<Args...>>>;
287+
std::common_type_t<Args...>,
288+
std::underlying_type_t<
289+
std::common_type_t<Args...>>>;
291290
}
292291
}
293292

CommonLibF4/include/F4SE/Logger.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
#pragma once
22

3-
#define F4SE_MAKE_SOURCE_LOGGER(a_func, a_type) \
4-
\
5-
template <class... Args> \
6-
struct [[maybe_unused]] a_func \
7-
{ \
8-
a_func() = delete; \
9-
\
10-
explicit a_func( \
11-
spdlog::format_string_t<Args...> a_fmt, \
12-
Args&&... a_args, \
13-
std::source_location a_loc = std::source_location::current()) \
14-
{ \
15-
spdlog::log( \
16-
spdlog::source_loc{ \
17-
a_loc.file_name(), \
18-
static_cast<int>(a_loc.line()), \
19-
a_loc.function_name() }, \
20-
spdlog::level::a_type, \
21-
a_fmt, \
22-
std::forward<Args>(a_args)...); \
23-
} \
3+
#define F4SE_MAKE_SOURCE_LOGGER(a_func, a_type) \
4+
\
5+
template <class... Args> \
6+
struct [[maybe_unused]] a_func \
7+
{ \
8+
a_func() = delete; \
9+
\
10+
explicit a_func( \
11+
spdlog::format_string_t<Args...> a_fmt, \
12+
Args&&... a_args, \
13+
std::source_location a_loc = std::source_location::current()) \
14+
{ \
15+
spdlog::log( \
16+
spdlog::source_loc{ \
17+
a_loc.file_name(), \
18+
static_cast<int>(a_loc.line()), \
19+
a_loc.function_name() }, \
20+
spdlog::level::a_type, \
21+
a_fmt, \
22+
std::forward<Args>(a_args)...); \
23+
} \
2424
};
2525

2626
namespace F4SE::log

CommonLibF4/include/RE/Bethesda/ActorUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace RE
1818
}
1919

2020
virtual bool ShouldProcess(TESBoundObject*) { return 1; }; // 00
21-
virtual void PostPRocess(TESBoundObject*){}; // 01
21+
virtual void PostPRocess(TESBoundObject*) {}; // 01
2222

2323
Actor* actor; // 08
2424
float rating; // 10

CommonLibF4/include/RE/Bethesda/Archive2.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace RE::BSResource::Archive2
127127
Chunk chunk;
128128
Loose loose;
129129
std::byte buffer[std::max(sizeof(Chunk), sizeof(Loose))] = {};
130-
}; // 10
130+
}; // 10
131131
BSFixedString stringName; // 20
132132
};
133133
static_assert(sizeof(Entry) == 0x28);
@@ -249,7 +249,7 @@ namespace RE::BSResource::Archive2
249249
{
250250
StandardContext* standardCtx = nullptr;
251251
PlatformContext* platformCtx;
252-
}; // 18
252+
}; // 18
253253
const std::uint64_t startOffset = 0; // 02
254254
BSFixedString name; // 28
255255
std::uint32_t currentRelativeOffset = 0; // 30

CommonLibF4/include/RE/Bethesda/BGSMod.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ namespace RE::BGSMod
7676
union DATATYPE
7777
{
7878
public:
79-
DATATYPE()
80-
noexcept :
79+
DATATYPE() noexcept :
8180
form(nullptr)
8281
{}
8382

CommonLibF4/include/RE/Bethesda/BGSSaveLoad.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace RE
4040
{
4141
std::uint8_t data1;
4242
REX::EnumSet<Flags, std::uint8_t> flags;
43-
}; // 0
43+
}; // 0
4444
std::uint8_t data2; // 1
4545
std::uint8_t data3; // 2
4646
};

CommonLibF4/include/RE/Bethesda/BSPointerHandle.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ namespace RE
7474

7575
template <class Y>
7676
BSPointerHandle(BSPointerHandle<Y, Handle> a_rhs) noexcept
77-
requires(std::convertible_to<Y*, T*>) :
77+
requires(std::convertible_to<Y*, T*>)
78+
:
7879
_handle(a_rhs._handle)
7980
{}
8081

CommonLibF4/include/RE/Bethesda/BSScript/ObjectTypeInfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,11 @@ namespace RE
156156
[[nodiscard]] constexpr bool IsLinked() const noexcept
157157
{
158158
switch (linkedValid) {
159-
case LinkValidState::kLinkedInvalid:
160-
case LinkValidState::kLinkedValid:
161-
return true;
162-
default:
163-
return false;
159+
case LinkValidState::kLinkedInvalid:
160+
case LinkValidState::kLinkedValid:
161+
return true;
162+
default:
163+
return false;
164164
}
165165
}
166166

CommonLibF4/include/RE/Bethesda/BSScript/TypeInfo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ namespace RE
133133
// members
134134
union D
135135
{
136-
D()
137-
noexcept :
136+
D() noexcept :
138137
complexTypeInfo(nullptr)
139138
{}
140139

0 commit comments

Comments
 (0)