aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangcodemodel/clangeditordocumentparser.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-07-10 14:57:42 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2015-07-10 14:04:19 +0000
commit418fc32f6a11a042ca6de2c6befea4ecb32a3381 (patch)
tree1535d999655a5288672ffba0d7c488233ed8edc1 /src/plugins/clangcodemodel/clangeditordocumentparser.h
parent5902a622985158eda3f47bc98d8c4d4c80426eba (diff)
Clang: Do not call DocumentManager::modifiedDocuments() from worker thread
This is unsafe. Change-Id: I8ac075a7289afa0d84785e37b1325d186a153000 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangcodemodel/clangeditordocumentparser.h')
-rw-r--r--src/plugins/clangcodemodel/clangeditordocumentparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangcodemodel/clangeditordocumentparser.h b/src/plugins/clangcodemodel/clangeditordocumentparser.h
index 37039eb539..4784d51672 100644
--- a/src/plugins/clangcodemodel/clangeditordocumentparser.h
+++ b/src/plugins/clangcodemodel/clangeditordocumentparser.h
@@ -51,7 +51,7 @@ public:
SemanticMarker::Ptr semanticMarker() const;
private:
- void updateHelper(CppTools::WorkingCopy workingCopy) override;
+ void updateHelper(const BaseEditorDocumentParser::InMemoryInfo &info) override;
SemanticMarker::Ptr m_marker;
};