mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57:35 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -108,7 +108,7 @@ GUI::ModelIndex FileEventModel::parent_index(GUI::ModelIndex const& index) const
|
|||
return {};
|
||||
|
||||
if (node.parent()->parent()) {
|
||||
const auto& children = node.parent()->parent()->children();
|
||||
auto const& children = node.parent()->parent()->children();
|
||||
|
||||
for (size_t row = 0; row < children.size(); ++row) {
|
||||
if (children.at(row).ptr() == node.parent()) {
|
||||
|
@ -117,7 +117,7 @@ GUI::ModelIndex FileEventModel::parent_index(GUI::ModelIndex const& index) const
|
|||
}
|
||||
}
|
||||
|
||||
const auto& children = node.parent()->children();
|
||||
auto const& children = node.parent()->children();
|
||||
|
||||
for (size_t row = 0; row < children.size(); ++row) {
|
||||
if (children.at(row).ptr() == &node) {
|
||||
|
|
|
@ -388,7 +388,7 @@ ErrorOr<NonnullOwnPtr<Profile>> Profile::load_from_perfcore_file(StringView path
|
|||
it->value->handle_thread_exit(event.tid, event.serial);
|
||||
continue;
|
||||
} else if (type_string == "read"sv) {
|
||||
const auto string_index = perf_event.get("filename_index"sv).to_number<FlatPtr>();
|
||||
auto const string_index = perf_event.get("filename_index"sv).to_number<FlatPtr>();
|
||||
event.data = Event::ReadData {
|
||||
.fd = perf_event.get("fd"sv).to_number<int>(),
|
||||
.size = perf_event.get("size"sv).to_number<size_t>(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue