Skip to content

Commit b495095

Browse files
author
marcrasi
authored
Revert "remove FileSystem from SourceKit AST cache key" (#25741)
1 parent 321ac0c commit b495095

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/SourceKit/lib/SwiftLang/SwiftASTManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ void InvocationOptions::profile(llvm::FoldingSetNodeID &ID) const {
168168
for (auto &Arg : Args)
169169
ID.AddString(Arg);
170170
ID.AddString(PrimaryFile);
171+
ID.AddPointer(FileSystem.get());
171172
}
172173

173174
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)