forked from qt-creator/qt-creator
CppTools: Remove pointless loop
Change-Id: Ie6c597421f81529973351a6363c0110435e42c29 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -101,9 +101,7 @@ static void addBuiltinConfigs(ClangDiagnosticConfigsModel &model)
|
|||||||
ClangDiagnosticConfigsModel::ClangDiagnosticConfigsModel(const ClangDiagnosticConfigs &customConfigs)
|
ClangDiagnosticConfigsModel::ClangDiagnosticConfigsModel(const ClangDiagnosticConfigs &customConfigs)
|
||||||
{
|
{
|
||||||
addBuiltinConfigs(*this);
|
addBuiltinConfigs(*this);
|
||||||
|
m_diagnosticConfigs.append(customConfigs);
|
||||||
foreach (const ClangDiagnosticConfig &config, customConfigs)
|
|
||||||
m_diagnosticConfigs.append(config);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int ClangDiagnosticConfigsModel::size() const
|
int ClangDiagnosticConfigsModel::size() const
|
||||||
|
Reference in New Issue
Block a user