Skip to content

Commit 6262384

Browse files
hjmjohnsonclaude
andcommitted
STYLE: Apply clang-format to fix lint CI failure
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9eeb2aa commit 6262384

2 files changed

Lines changed: 25 additions & 19 deletions

File tree

include/PerformanceBenchmarkingUtilities.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
#include "itkHighPriorityRealTimeProbesCollector.h"
1313

1414
#if ITK_VERSION_MAJOR < 5 || defined(ITK_USES_NUMBEROFTHREADS)
15-
#include "itkMultiThreader.h"
15+
# include "itkMultiThreader.h"
1616
using MultiThreaderName = itk::MultiThreader;
17-
#define SET_PARALLEL_UNITS( x ) SetNumberOfThreads( x )
17+
# define SET_PARALLEL_UNITS(x) SetNumberOfThreads(x)
1818
#else
19-
#include "itkMultiThreaderBase.h"
19+
# include "itkMultiThreaderBase.h"
2020
using MultiThreaderName = itk::MultiThreaderBase;
21-
#define SET_PARALLEL_UNITS( x ) SetNumberOfWorkUnits( x )
21+
# define SET_PARALLEL_UNITS(x) SetNumberOfWorkUnits(x)
2222
#endif
2323

2424
PerformanceBenchmarking_EXPORT std::string
25-
PerfDateStamp();
25+
PerfDateStamp();
2626

2727
PerformanceBenchmarking_EXPORT std::string
2828
ReplaceOccurrence(std::string str, const std::string && findvalue, const std::string && replacevalue);

src/PerformanceBenchmarkingInformation.h.in

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ namespace itk
5151
* \ingroup PerformanceBenchmarking
5252
*
5353
*/
54-
class PerformanceBenchmarking_EXPORT PerformanceBenchmarkingInformation final: public itk::Object
54+
class PerformanceBenchmarking_EXPORT PerformanceBenchmarkingInformation final : public itk::Object
5555
{
5656
public:
5757
/** Standard class type aliases. */
5858
using Self = PerformanceBenchmarkingInformation;
59-
using Pointer = itk::SmartPointer< Self >;
60-
using ConstPointer = itk::SmartPointer< const Self >;
59+
using Pointer = itk::SmartPointer<Self>;
60+
using ConstPointer = itk::SmartPointer<const Self>;
6161
using MapKeyType = std::string;
6262
using MapValueType = std::string;
6363
using MapValueDescriptionType = MapValueType;
@@ -72,29 +72,35 @@ private:
7272
{
7373
public:
7474
InformationValueType() = default;
75-
InformationValueType( const InformationValueType & ) = default;
76-
InformationValueType( InformationValueType && ) = default;
75+
InformationValueType(const InformationValueType &) = default;
76+
InformationValueType(InformationValueType &&) = default;
7777

7878
const MapValueType m_Value;
7979
const MapValueDescriptionType m_Description;
8080
};
81-
public:
8281

82+
public:
8383
using MapStorageType = InformationValueType;
84-
using MapType = std::map<MapKeyType, MapStorageType >;
84+
using MapType = std::map<MapKeyType, MapStorageType>;
8585

8686
/** Run-time type information (and related methods). */
8787
itkOverrideGetNameOfClassMacro(PerformanceBenchmarkingInformation);
8888

8989
/** Returns the global instance */
90-
static Pointer New();
90+
static Pointer
91+
New();
9192

9293
/** Returns the global singleton instance of the PerformanceBenchmarkingInformation */
93-
static Pointer GetInstance();
94-
static const MapType & GetMap();
95-
static const MapValueType GetValue(const MapKeyType &&);
96-
static const MapValueDescriptionType GetDescription(const MapKeyType &&);
97-
static const std::vector< MapKeyType > GetAllKeys();
94+
static Pointer
95+
GetInstance();
96+
static const MapType &
97+
GetMap();
98+
static const MapValueType
99+
GetValue(const MapKeyType &&);
100+
static const MapValueDescriptionType
101+
GetDescription(const MapKeyType &&);
102+
static const std::vector<MapKeyType>
103+
GetAllKeys();
98104

99105
private:
100106
ITK_DISALLOW_COPY_AND_MOVE(PerformanceBenchmarkingInformation);
@@ -105,7 +111,7 @@ private:
105111
static std::mutex m_Mutex;
106112
static Pointer m_InformationInstance;
107113
static MapType m_Map;
108-
}; // end of class
114+
}; // end of class
109115

110116
} // end namespace itk
111117
#endif

0 commit comments

Comments
 (0)