Fixed link generation for template specializations

This commit is contained in:
Bartek Kryza
2023-12-10 11:54:52 +01:00
parent 85ffe2cdee
commit cea427e32d
12 changed files with 59 additions and 35 deletions

View File

@@ -410,7 +410,7 @@ bool is_relative_to(
if (child.has_root_directory() != parent.has_root_directory())
return false;
return starts_with(child, parent);
return starts_with(weakly_canonical(child), weakly_canonical(parent));
}
std::string format_message_comment(const std::string &comment, unsigned width)