1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:37:44 +00:00

Meta+DevTools: Make clang-format-10 clean

This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
parent b3909ac0dd
commit 25488ddcad
18 changed files with 24 additions and 53 deletions

View file

@ -33,12 +33,12 @@ class Profile;
class ProfileNode;
struct InstructionData {
X86::Instruction insn;
String disassembly;
StringView bytes;
FlatPtr address { 0 };
u32 event_count { 0 };
float percent { 0 };
X86::Instruction insn;
String disassembly;
StringView bytes;
FlatPtr address { 0 };
u32 event_count { 0 };
float percent { 0 };
};
class DisassemblyModel final : public GUI::Model {

View file

@ -117,8 +117,7 @@ void Profile::rebuild_tree()
ProfileNode* node = nullptr;
auto for_each_frame = [&]<typename Callback>(Callback callback)
{
auto for_each_frame = [&]<typename Callback>(Callback callback) {
if (!m_inverted) {
for (size_t i = 0; i < event.frames.size(); ++i) {
if (callback(event.frames.at(i), i == event.frames.size() - 1) == IterationDecision::Break)

View file

@ -28,7 +28,6 @@
#include <LibGUI/Model.h>
class Profile;
class ProfileModel final : public GUI::Model {