[libSyntax] Allow syntax cache reuse info to be passed back via SourceKit

This commit is contained in:
Alex Hoppen
2018-05-16 14:38:35 -07:00
parent fcc5a6b424
commit 7a750bf024
8 changed files with 111 additions and 34 deletions

View File

@@ -100,6 +100,13 @@ private:
bool handleSerializedSyntaxTree(StringRef Text) override { return false; }
bool syntaxTreeEnabled() override { return false; }
bool forceLibSyntaxBasedProcessing() override { return false; }
bool syntaxReuseInfoEnabled() override { return false; }
bool handleSyntaxReuseRegions(
std::vector<SourceFileRange> ReuseRegions) override {
return false;
}
};
struct DocUpdateMutexState {