From dc8479928c5aee4c6ad6fe4f59006fb604cee701 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 18 Sep 2016 09:38:01 +0900 Subject: Sources: Run clang-format on everything. --- src/common/break_points.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/common/break_points.h') diff --git a/src/common/break_points.h b/src/common/break_points.h index b0629df37..1a5b7d296 100644 --- a/src/common/break_points.h +++ b/src/common/break_points.h @@ -4,28 +4,28 @@ #pragma once -#include #include +#include #include "common/common_types.h" class DebugInterface; -struct TBreakPoint -{ - u32 iAddress; +struct TBreakPoint { + u32 iAddress; bool bOn; bool bTemporary; }; // Code breakpoints. -class BreakPoints -{ +class BreakPoints { public: typedef std::vector TBreakPoints; typedef std::vector TBreakPointsStr; - const TBreakPoints& GetBreakPoints() { return m_BreakPoints; } + const TBreakPoints& GetBreakPoints() { + return m_BreakPoints; + } TBreakPointsStr GetStrings() const; void AddFromStrings(const TBreakPointsStr& bps); @@ -35,7 +35,7 @@ public: bool IsTempBreakPoint(u32 iAddress) const; // Add BreakPoint - void Add(u32 em_address, bool temp=false); + void Add(u32 em_address, bool temp = false); void Add(const TBreakPoint& bp); // Remove Breakpoint @@ -46,5 +46,5 @@ public: private: TBreakPoints m_BreakPoints; - u32 m_iBreakOnCount; + u32 m_iBreakOnCount; }; -- cgit v1.2.3 From ebdae19fd226104baec712b9da9939ff82ef3c3a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 21 Sep 2016 00:21:23 +0900 Subject: Remove empty newlines in #include blocks. This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. --- src/common/break_points.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/common/break_points.h') diff --git a/src/common/break_points.h b/src/common/break_points.h index 1a5b7d296..e15b9f842 100644 --- a/src/common/break_points.h +++ b/src/common/break_points.h @@ -6,7 +6,6 @@ #include #include - #include "common/common_types.h" class DebugInterface; -- cgit v1.2.3