astyle formatting
This commit is contained in:
parent
1077b0d2a6
commit
bca3605f77
|
@ -1044,7 +1044,7 @@ void MainWindow::analysisDone()
|
||||||
|
|
||||||
for (QAction* recentProjectAct : mRecentProjectActs) {
|
for (QAction* recentProjectAct : mRecentProjectActs) {
|
||||||
if (recentProjectAct != nullptr)
|
if (recentProjectAct != nullptr)
|
||||||
recentProjectAct->setEnabled(true);
|
recentProjectAct->setEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify user - if the window is not active - that check is ready
|
// Notify user - if the window is not active - that check is ready
|
||||||
|
@ -1070,7 +1070,7 @@ void MainWindow::checkLockDownUI()
|
||||||
|
|
||||||
for (QAction* recentProjectAct : mRecentProjectActs) {
|
for (QAction* recentProjectAct : mRecentProjectActs) {
|
||||||
if (recentProjectAct != nullptr)
|
if (recentProjectAct != nullptr)
|
||||||
recentProjectAct->setEnabled(false);
|
recentProjectAct->setEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ void ThreadHandler::setThreadCount(const int count)
|
||||||
void ThreadHandler::removeThreads()
|
void ThreadHandler::removeThreads()
|
||||||
{
|
{
|
||||||
for (CheckThread* thread : mThreads) {
|
for (CheckThread* thread : mThreads) {
|
||||||
thread->terminate();
|
thread->terminate();
|
||||||
disconnect(thread, &CheckThread::done,
|
disconnect(thread, &CheckThread::done,
|
||||||
this, &ThreadHandler::threadDone);
|
this, &ThreadHandler::threadDone);
|
||||||
disconnect(thread, &CheckThread::fileChecked,
|
disconnect(thread, &CheckThread::fileChecked,
|
||||||
|
@ -176,7 +176,7 @@ void ThreadHandler::stop()
|
||||||
mCheckStartTime = QDateTime();
|
mCheckStartTime = QDateTime();
|
||||||
mAnalyseWholeProgram = false;
|
mAnalyseWholeProgram = false;
|
||||||
for (CheckThread* thread : mThreads) {
|
for (CheckThread* thread : mThreads) {
|
||||||
thread->stop();
|
thread->stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -659,7 +659,7 @@ void Preprocessor::removeComments()
|
||||||
{
|
{
|
||||||
for (std::pair<const std::string, simplecpp::TokenList*>& tokenList : mTokenLists) {
|
for (std::pair<const std::string, simplecpp::TokenList*>& tokenList : mTokenLists) {
|
||||||
if (tokenList.second)
|
if (tokenList.second)
|
||||||
tokenList.second->removeComments();
|
tokenList.second->removeComments();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -720,7 +720,7 @@ void SymbolDatabase::createSymbolDatabaseClassInfo()
|
||||||
const Scope * const found = findScope(usingInfo.start->tokAt(2), &scope);
|
const Scope * const found = findScope(usingInfo.start->tokAt(2), &scope);
|
||||||
if (found) {
|
if (found) {
|
||||||
// set found scope
|
// set found scope
|
||||||
usingInfo.scope = found;
|
usingInfo.scope = found;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -755,7 +755,7 @@ void SymbolDatabase::createSymbolDatabaseVariableInfo()
|
||||||
// fill in variable info
|
// fill in variable info
|
||||||
for (Scope& scope : scopeList) {
|
for (Scope& scope : scopeList) {
|
||||||
// find variables
|
// find variables
|
||||||
scope.getVariableList(mSettings);
|
scope.getVariableList(mSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
// fill in function arguments
|
// fill in function arguments
|
||||||
|
|
Loading…
Reference in New Issue