Fixed formatting

This commit is contained in:
Bartek Kryza
2021-07-29 19:19:54 +02:00
parent 4ee1aee0e7
commit a285ea0781
5 changed files with 5 additions and 12 deletions

View File

@@ -17,9 +17,9 @@
*/
#pragma once
#include "decorators.h"
#include "util/error.h"
#include "util/util.h"
#include "decorators.h"
#include <clang-c/CXCompilationDatabase.h>
#include <clang-c/Index.h>

View File

@@ -169,4 +169,3 @@ std::vector<std::shared_ptr<decorator>> parse(std::string documentation_block)
} // namespace decorators
} // namespace clanguml

View File

@@ -69,4 +69,3 @@ std::vector<std::shared_ptr<decorator>> parse(std::string documentation_block);
} // namespace decorators
} // namespace clanguml

View File

@@ -26,16 +26,12 @@ class D {
};
/// \clanguml{note E template class note.}
template<typename T> class E {
template <typename T> class E {
T param;
};
/// @clanguml{note[ bottom ] F enum note.}
enum class F {
one,
two,
three
};
enum class F { one, two, three };
/// \clanguml{note[right] R class note.}
class R {

View File

@@ -266,9 +266,8 @@ ContainsMatcher HasNote(std::string const &cls, std::string const &position,
std::string const &note,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes)
{
return ContainsMatcher(
CasedString(fmt::format("note {} of {}", position, cls),
caseSensitivity));
return ContainsMatcher(CasedString(
fmt::format("note {} of {}", position, cls), caseSensitivity));
}
template <typename... Ts>