Merge pull request #18016 from ahoppen/003-incremental-syntax-coloring

[libSyntax] Incremental syntax colouring
This commit is contained in:
Alex Hoppen
2018-07-18 17:08:02 -07:00
committed by GitHub
18 changed files with 373 additions and 34 deletions

View File

@@ -92,6 +92,12 @@ class NullEditorConsumer : public EditorConsumer {
bool syntaxTreeEnabled() override { return false; }
bool forceLibSyntaxBasedProcessing() override { return false; }
bool syntaxReuseInfoEnabled() override { return false; }
bool handleSyntaxReuseRegions(
std::vector<SourceFileRange> ReuseRegions) override {
return false;
}
public:
bool needsSema = false;
};