summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/backslash-newlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/backslash-newlines.h')
-rw-r--r--tests/auto/tools/moc/backslash-newlines.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/tools/moc/backslash-newlines.h b/tests/auto/tools/moc/backslash-newlines.h
index 081d80dc7a..cb2a7f6558 100644
--- a/tests/auto/tools/moc/backslash-newlines.h
+++ b/tests/auto/tools/moc/backslash-newlines.h
@@ -53,4 +53,9 @@ public slots:
#endif // BACKSLASH_NEWLINES_H
-// ends with \\\r should not make moc crash (QTBUG-53441) (no new lines on purpose!!) \ \ No newline at end of file
+QT_WARNING_PUSH
+QT_WARNING_DISABLE_CLANG("-Wcomment")
+
+// ends with \\\r should not make moc crash (QTBUG-53441) (no new lines on purpose!!) \
+
+QT_WARNING_POP