[incrParse] Perform a full reparse of the file if needed for formatting

This commit is contained in:
Alex Hoppen
2018-05-21 12:16:49 -07:00
parent 57ccdd89b6
commit 1b8840fcff
2 changed files with 24 additions and 0 deletions

View File

@@ -117,6 +117,10 @@ public:
unsigned getBufferID() const;
std::string getFilePath() const;
/// Whether or not the AST stored for this document is up-to-date or just an
/// artifact of incremental syntax parsing
bool hasUpToDateAST() const;
};
typedef IntrusiveRefCntPtr<SwiftEditorDocument> SwiftEditorDocumentRef;