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:
parent
b3909ac0dd
commit
25488ddcad
18 changed files with 24 additions and 53 deletions
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
#include <LibGUI/Model.h>
|
||||
|
||||
|
||||
class Profile;
|
||||
|
||||
class ProfileModel final : public GUI::Model {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue