Clang: Introduce DocumentParsed as job requirement

This is in prepration for a follow-up change, which introduces a state
where the Document is not yet parsed (it was reset) but the queue has
jobs.

All jobs get this requirement except those that generate an AST.

Change-Id: Ifcbb704e54108b40797180514c5ad3f3768ef10b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-01-05 12:28:15 +01:00
parent 063b327097
commit e3b1259004
6 changed files with 30 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ public:
void updateParseTimePoint(const Utf8String &translationUnitId, TimePoint timePoint);
bool areAllTranslationUnitsParsed() const;
bool hasParsedTranslationUnit() const;
public: // for tests
int size() const;