forked from qt-creator/qt-creator
ClangTools: Remove foreach / Q_FOREACH usage
Task-number: QTCREATORBUG-27464 Change-Id: I1c4711d87e5f95fc1653dd9aa6448b105d017435 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -149,7 +149,7 @@ public:
|
||||
// For debugging, add: style='border-width:1px;border-color:black'
|
||||
QString text = "<table cellspacing='0' cellpadding='0' width='100%'>";
|
||||
|
||||
foreach (const ClangDiagnostic &diagnostic, diagnostics)
|
||||
for (const ClangDiagnostic &diagnostic : diagnostics)
|
||||
text.append(tableRows(diagnostic));
|
||||
if (!source.isEmpty()) {
|
||||
text.append(QString::fromUtf8("<tr><td colspan='2' align='left'>"
|
||||
|
||||
Reference in New Issue
Block a user