forked from qt-creator/qt-creator
CppTools: Reparse editor documents after active project change
Change-Id: I010709c866291bf59c27f4a05765e1ab0efd28af Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -2122,7 +2122,7 @@ void CppCompletionAssistInterface::getCppSpecifics() const
|
||||
m_gotCppSpecifics = true;
|
||||
|
||||
if (m_parser) {
|
||||
m_parser->update({CppTools::CppModelManager::instance()->workingCopy(), nullptr});
|
||||
m_parser->update({CppTools::CppModelManager::instance()->workingCopy(), nullptr, false});
|
||||
m_snapshot = m_parser->snapshot();
|
||||
m_headerPaths = m_parser->headerPaths();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user