Fix manual parsing of Windows source location paths (#217)

This commit is contained in:
Bartek Kryza
2023-12-14 19:43:37 +01:00
parent 7be848b8a1
commit 4da14a32d7
3 changed files with 57 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ void translation_unit_visitor::set_source_location(
file_path = fs::absolute(file_path);
}
file_path = fs::canonical(file_path);
file_path = fs::weakly_canonical(file_path);
file = file_path.string();