astyle formatting

This commit is contained in:
Daniel Marjamäki 2020-09-21 19:48:04 +02:00
parent 1077b0d2a6
commit bca3605f77
4 changed files with 7 additions and 7 deletions

View File

@ -1044,7 +1044,7 @@ void MainWindow::analysisDone()
for (QAction* recentProjectAct : mRecentProjectActs) {
if (recentProjectAct != nullptr)
recentProjectAct->setEnabled(true);
recentProjectAct->setEnabled(true);
}
// Notify user - if the window is not active - that check is ready
@ -1070,7 +1070,7 @@ void MainWindow::checkLockDownUI()
for (QAction* recentProjectAct : mRecentProjectActs) {
if (recentProjectAct != nullptr)
recentProjectAct->setEnabled(false);
recentProjectAct->setEnabled(false);
}
}

View File

@ -137,7 +137,7 @@ void ThreadHandler::setThreadCount(const int count)
void ThreadHandler::removeThreads()
{
for (CheckThread* thread : mThreads) {
thread->terminate();
thread->terminate();
disconnect(thread, &CheckThread::done,
this, &ThreadHandler::threadDone);
disconnect(thread, &CheckThread::fileChecked,
@ -176,7 +176,7 @@ void ThreadHandler::stop()
mCheckStartTime = QDateTime();
mAnalyseWholeProgram = false;
for (CheckThread* thread : mThreads) {
thread->stop();
thread->stop();
}
}

View File

@ -659,7 +659,7 @@ void Preprocessor::removeComments()
{
for (std::pair<const std::string, simplecpp::TokenList*>& tokenList : mTokenLists) {
if (tokenList.second)
tokenList.second->removeComments();
tokenList.second->removeComments();
}
}

View File

@ -720,7 +720,7 @@ void SymbolDatabase::createSymbolDatabaseClassInfo()
const Scope * const found = findScope(usingInfo.start->tokAt(2), &scope);
if (found) {
// set found scope
usingInfo.scope = found;
usingInfo.scope = found;
break;
}
}
@ -755,7 +755,7 @@ void SymbolDatabase::createSymbolDatabaseVariableInfo()
// fill in variable info
for (Scope& scope : scopeList) {
// find variables
scope.getVariableList(mSettings);
scope.getVariableList(mSettings);
}
// fill in function arguments