make clang-format happy

This commit is contained in:
DH 2025-10-04 14:54:28 +03:00
parent 3e694d6bab
commit 7419457efd
15 changed files with 24 additions and 22 deletions

View file

@ -214,8 +214,8 @@ public:
bool isDevKit = false;
Ref<Budget> createProcessTypeBudget(Budget::ProcessType processType,
std::string_view name,
std::span<const BudgetInfo> items) {
std::string_view name,
std::span<const BudgetInfo> items) {
auto budget = orbis::knew<orbis::Budget>(name, processType, items);
processTypeBudgets[static_cast<int>(processType)] =
orbis::knew<orbis::Budget>(name, processType, items);

View file

@ -1,8 +1,8 @@
#include "KernelContext.hpp"
#include "sys/sysproto.hpp"
#include "thread/Process.hpp"
#include "thread/Thread.hpp"
#include "thread/ProcessOps.hpp"
#include "thread/Thread.hpp"
#include "ucontext.hpp"
#include "utils/Logs.hpp"
#include <csignal>

View file

@ -489,7 +489,8 @@ void _orbis_log_print(LogLevel lvl, std::string_view msg,
for (std::size_t i = 0; i < args_count; i++) {
if (i)
text += ", ";
names.remove_prefix(std::min(names.find_first_not_of(" \t\n\r"), names.length()));
names.remove_prefix(
std::min(names.find_first_not_of(" \t\n\r"), names.length()));
std::string_view name = names.substr(0, names.find_first_of(','));
names.remove_prefix(std::min(name.size() + 1, names.size()));
text += name;