Fixed include diagram test cases

This commit is contained in:
Bartek Kryza
2022-08-03 01:05:01 +02:00
parent cd9d9cf5a7
commit 392be99055
19 changed files with 382 additions and 98 deletions

View File

@@ -31,4 +31,10 @@ template <> id_t to_id(const clang::TemplateSpecializationType &t)
{
return t.getTemplateName().getAsTemplateDecl()->getID();
}
template <> id_t to_id(const std::filesystem::path &file)
{
return std::hash<std::string>{}(file.lexically_normal()) >> 3;
}
}