Fixed formatting
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -169,4 +169,3 @@ std::vector<std::shared_ptr<decorator>> parse(std::string documentation_block)
|
|||||||
|
|
||||||
} // namespace decorators
|
} // namespace decorators
|
||||||
} // namespace clanguml
|
} // namespace clanguml
|
||||||
|
|
||||||
|
|||||||
@@ -69,4 +69,3 @@ std::vector<std::shared_ptr<decorator>> parse(std::string documentation_block);
|
|||||||
|
|
||||||
} // namespace decorators
|
} // namespace decorators
|
||||||
} // namespace clanguml
|
} // namespace clanguml
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -266,9 +266,8 @@ ContainsMatcher HasNote(std::string const &cls, std::string const &position,
|
|||||||
std::string const ¬e,
|
std::string const ¬e,
|
||||||
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>
|
||||||
|
|||||||
Reference in New Issue
Block a user