Commit ec13e65d authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppTools: Avoid using old incomplete semantic info document

Task-number: QTCREATORBUG-11367
Change-Id: I8b02c30a43a57c547bc07d796f4b29725beca793
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: default avatarErik Verbruggen <>
Reviewed-by: default avatarEike Ziller <>
parent 03c6df1f
......@@ -541,6 +541,7 @@ void CppEditorSupport::recalculateSemanticInfoNow(const SemanticInfo::Source &so
semanticInfo.forced = source.force;
if (!source.force
&& m_lastSemanticInfo.complete
&& m_lastSemanticInfo.revision == source.revision
&& m_lastSemanticInfo.doc
&& m_lastSemanticInfo.doc->translationUnit()->ast()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment