mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[incrParse] Allow information about node reused be outputted
This commit is contained in:
@@ -35,6 +35,9 @@ llvm::Optional<Syntax> SyntaxParsingCache::lookUpFrom(Syntax Node,
|
||||
// token's leading trivia
|
||||
|
||||
if (!NodeEdited) {
|
||||
if (ReuseLog) {
|
||||
(*ReuseLog) << "Reused " << Kind << " at offset " << Position << '\n';
|
||||
}
|
||||
return Node;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user