Fixed formatting

This commit is contained in:
Bartek Kryza
2022-12-25 21:32:15 +01:00
parent 07584c8616
commit a1223b1471
3 changed files with 7 additions and 7 deletions

View File

@@ -47,9 +47,9 @@ translation_unit_visitor::include_visitor::include_visitor(
void translation_unit_visitor::include_visitor::InclusionDirective( void translation_unit_visitor::include_visitor::InclusionDirective(
clang::SourceLocation hash_loc, const clang::Token & /*include_tok*/, clang::SourceLocation hash_loc, const clang::Token & /*include_tok*/,
clang::StringRef /*file_name*/, bool is_angled, clang::StringRef /*file_name*/, bool is_angled,
clang::CharSourceRange /*filename_range*/, clang::Optional<clang::FileEntryRef> file, clang::CharSourceRange /*filename_range*/,
clang::StringRef /*search_path*/, clang::StringRef relative_path, clang::Optional<clang::FileEntryRef> file, clang::StringRef /*search_path*/,
const clang::Module * /*imported*/, clang::StringRef relative_path, const clang::Module * /*imported*/,
clang::SrcMgr::CharacteristicKind file_type) clang::SrcMgr::CharacteristicKind file_type)
#else #else
void translation_unit_visitor::include_visitor::InclusionDirective( void translation_unit_visitor::include_visitor::InclusionDirective(

View File

@@ -51,8 +51,9 @@ public:
void InclusionDirective(clang::SourceLocation hash_loc, void InclusionDirective(clang::SourceLocation hash_loc,
const clang::Token &include_tok, clang::StringRef file_name, const clang::Token &include_tok, clang::StringRef file_name,
bool is_angled, clang::CharSourceRange filename_range, bool is_angled, clang::CharSourceRange filename_range,
clang::Optional<clang::FileEntryRef> file, clang::StringRef search_path, clang::Optional<clang::FileEntryRef> file,
clang::StringRef relative_path, const clang::Module *imported, clang::StringRef search_path, clang::StringRef relative_path,
const clang::Module *imported,
clang::SrcMgr::CharacteristicKind file_type) override; clang::SrcMgr::CharacteristicKind file_type) override;
#else #else
void InclusionDirective(clang::SourceLocation hash_loc, void InclusionDirective(clang::SourceLocation hash_loc,

View File

@@ -52,8 +52,7 @@ TEST_CASE("t00049", "[test-case][class]")
REQUIRE_THAT(puml, (IsField<Public>("a_int_map", "A<intmap>"))); REQUIRE_THAT(puml, (IsField<Public>("a_int_map", "A<intmap>")));
// Check if all relationships exist // Check if all relationships exist
REQUIRE_THAT( REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<string_vector>")));
puml, IsInstantiation(_A("A<T>"), _A("A<string_vector>")));
REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<thestring>"))); REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<thestring>")));
REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<intmap>"))); REQUIRE_THAT(puml, IsInstantiation(_A("A<T>"), _A("A<intmap>")));