We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48439bc commit 35620c4Copy full SHA for 35620c4
1 file changed
swift/extractor/infra/SwiftDispatcher.h
@@ -355,19 +355,6 @@ class SwiftDispatcher {
355
return false;
356
}
357
358
- static std::filesystem::path getFilePath(std::string_view path) {
359
- // TODO: this needs more testing
360
- // TODO: check canonicalization of names on a case insensitive filesystems
361
- // TODO: make symlink resolution conditional on CODEQL_PRESERVE_SYMLINKS=true
362
- std::error_code ec;
363
- auto ret = std::filesystem::canonical(path, ec);
364
- if (ec) {
365
- std::cerr << "Cannot get real path: " << std::quoted(path) << ": " << ec.message() << "\n";
366
- return {};
367
- }
368
- return ret;
369
370
-
371
virtual void visit(const swift::Decl* decl) = 0;
372
virtual void visit(const swift::Stmt* stmt) = 0;
373
virtual void visit(const swift::StmtCondition* cond) = 0;
0 commit comments