forked from qt-creator/qt-creator
Introduce Q_FALLTHROUGH()
Silence g++ 7.X warnings. Change-Id: I9d06d04b496c9ec060e13e1be6f43d8fbadb1f3b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/mapreduce.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/qtcfallthrough.h>
|
||||
#include <utils/runextensions.h>
|
||||
|
||||
#include <QDirIterator>
|
||||
@@ -276,7 +277,7 @@ bool TestCodeParser::postponed(const QStringList &fileList)
|
||||
m_reparseTimer.start();
|
||||
return true;
|
||||
}
|
||||
// intentional fall-through
|
||||
Q_FALLTHROUGH();
|
||||
default:
|
||||
m_postponedFiles.insert(fileList.first());
|
||||
m_reparseTimer.stop();
|
||||
|
||||
Reference in New Issue
Block a user