[SourceKit] Add option to force the SyntaxMap to be generated via the syntax tree

This commit is contained in:
Alex Hoppen
2018-06-28 14:37:07 -07:00
parent 5c22761865
commit c8a3957ba2
8 changed files with 167 additions and 10 deletions

View File

@@ -90,6 +90,7 @@ class NullEditorConsumer : public EditorConsumer {
bool handleSourceText(StringRef Text) override { return false; }
bool handleSerializedSyntaxTree(StringRef Text) override { return false; }
bool syntaxTreeEnabled() override { return false; }
bool forceLibSyntaxBasedProcessing() override { return false; }
public:
bool needsSema = false;