forked from qt-creator/qt-creator
CppTools: Remove useless parameter in recalculateSemanticInfo()
Change-Id: I24b6f6d698051d1ccfe3f0d83078c26d8de193fb Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
2a9cde9468
commit
8f6b4c784d
@@ -220,12 +220,12 @@ bool CppEditorSupport::initialized()
|
||||
return m_initialized;
|
||||
}
|
||||
|
||||
SemanticInfo CppEditorSupport::recalculateSemanticInfo(bool emitSignalWhenFinished)
|
||||
SemanticInfo CppEditorSupport::recalculateSemanticInfo()
|
||||
{
|
||||
m_futureSemanticInfo.cancel();
|
||||
|
||||
SemanticInfo::Source source = currentSource(false);
|
||||
recalculateSemanticInfoNow(source, emitSignalWhenFinished);
|
||||
recalculateSemanticInfoNow(source, /*emitSignalWhenFinished=*/ false);
|
||||
return m_lastSemanticInfo;
|
||||
}
|
||||
|
||||
|
||||
@@ -110,8 +110,8 @@ public:
|
||||
bool initialized();
|
||||
|
||||
/// Retrieve the semantic info, which will get recalculated on the current
|
||||
/// thread if it is outdate.
|
||||
SemanticInfo recalculateSemanticInfo(bool emitSignalWhenFinished = true);
|
||||
/// thread if it is outdate. Will not emit the semanticInfoUpdated() signal.
|
||||
SemanticInfo recalculateSemanticInfo();
|
||||
|
||||
CPlusPlus::Document::Ptr lastSemanticInfoDocument() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user