forked from qt-creator/qt-creator
CppTools: Let BaseEditorDocumentParser acquire the mutex
...so derived classes are freed from doing this. Change-Id: I73f3eca54be14cfd6542a466f0e9c024457bef07 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -46,13 +46,13 @@ class ClangEditorDocumentParser : public CppTools::BaseEditorDocumentParser
|
||||
public:
|
||||
ClangEditorDocumentParser(const QString &filePath);
|
||||
|
||||
void update(CppTools::WorkingCopy workingCopy) override;
|
||||
|
||||
QList<Diagnostic> diagnostics() const;
|
||||
QList<SemanticMarker::Range> ifdefedOutBlocks() const;
|
||||
SemanticMarker::Ptr semanticMarker() const;
|
||||
|
||||
private:
|
||||
void updateHelper(CppTools::WorkingCopy workingCopy) override;
|
||||
|
||||
SemanticMarker::Ptr m_marker;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user