Clang: Reparse for removed files too

Change-Id: Ibe8a3fa46bead6018a4279c3a270cb2535a7b296
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-08-31 13:10:28 +02:00
parent 053e9597af
commit 8ad7616420
4 changed files with 55 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ void ClangFileSystemWatcher::addFiles(const QSet<Utf8String> &filePaths)
void ClangFileSystemWatcher::updateTranslationUnitsWithChangedDependencies(const QString &filePath)
{
translationUnits.updateTranslationUnitsWithChangedDependencies(filePath);
translationUnits.updateTranslationUnitsWithChangedDependency(filePath);
watcher.addPath(filePath);
emit fileChanged();