Commit 210228da authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Marco Bubke

Clang: Whitespace fixes in translationunit{s}.cpp

Change-Id: I6e9f479023f0993df365b4e2f0d71539e962c278
Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
parent f1300df6
......@@ -377,4 +377,3 @@ void PrintTo(const TranslationUnit &translationUnit, ::std::ostream *os)
}
} // namespace ClangBackEnd
......@@ -50,7 +50,6 @@ bool operator==(const TranslationUnit &translationUnit, const FileContainer &fil
return fileContainer == translationUnit;
}
TranslationUnits::TranslationUnits(ProjectParts &projects, UnsavedFiles &unsavedFiles)
: fileSystemWatcher(*this),
projectParts(projects),
......@@ -77,7 +76,6 @@ static bool removeFromFileContainer(QVector<FileContainer> &fileContainers, cons
return entryIsRemoved;
}
void TranslationUnits::remove(const QVector<FileContainer> &fileContainers)
{
checkIfProjectPartsExists(fileContainers);
......@@ -134,8 +132,8 @@ void TranslationUnits::sendChangedDiagnostics()
{
for (const auto &translationUnit : translationUnits_) {
if (translationUnit.hasNewDiagnostics()) {
sendDiagnosticChangedMessage(translationUnit);
break;
sendDiagnosticChangedMessage(translationUnit);
break;
}
}
}
......@@ -240,4 +238,3 @@ void TranslationUnits::removeTranslationUnits(const QVector<FileContainer> &file
}
} // namespace ClangBackEnd
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