Reformat code with clang format

This commit is contained in:
Clang Format
2023-11-19 15:28:38 +01:00
committed by Jan
parent 22e17272fd
commit 6b4f5d94a8
1099 changed files with 16763 additions and 18076 deletions

View File

@ -3,12 +3,11 @@
class AlignmentUtils
{
public:
template<typename T>
static T Align(T number, T alignmentValue)
template<typename T> static T Align(T number, T alignmentValue)
{
if (alignmentValue == 0)
return number;
return (number + (alignmentValue - 1)) / alignmentValue * alignmentValue;
}
};
};

View File

@ -33,7 +33,7 @@ std::string NamespaceBuilder::ToString()
std::ostringstream str;
auto first = true;
for(const auto& element : m_elements)
for (const auto& element : m_elements)
{
if (first)
first = false;

View File

@ -1,6 +1,7 @@
#pragma once
#include "Utils/ClassUtils.h"
#include <string>
#include <vector>