Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions swift/extractor/infra/SwiftDispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class SwiftDispatcher {

template <typename... Args>
void emitDebugInfo(const Args&... args) {
trap.debug(std::forward<Args>(args)...);
trap.debug(args...);
}

// In order to not emit duplicated entries for declarations, we restrict emission to only
Expand Down Expand Up @@ -315,7 +315,7 @@ class SwiftDispatcher {
virtual void visit(swift::TypeBase* type) = 0;

void visit(const FilePath& file) {
auto entry = createEntry(file);
auto entry = createEntry(file, file.path);
entry.name = file.path;
emit(entry);
}
Expand Down