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 #pragma once
#include "decorators.h"
#include "util/error.h" #include "util/error.h"
#include "util/util.h" #include "util/util.h"
#include "decorators.h"
#include <clang-c/CXCompilationDatabase.h> #include <clang-c/CXCompilationDatabase.h>
#include <clang-c/Index.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 decorators
} // namespace clanguml } // namespace clanguml

View File

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

View File

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

View File

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