aboutsummaryrefslogtreecommitdiffstats
path: root/docs/checks/README-empty-qstringliteral.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/checks/README-empty-qstringliteral.md')
-rw-r--r--docs/checks/README-empty-qstringliteral.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/checks/README-empty-qstringliteral.md b/docs/checks/README-empty-qstringliteral.md
new file mode 100644
index 00000000..3c78ba67
--- /dev/null
+++ b/docs/checks/README-empty-qstringliteral.md
@@ -0,0 +1,6 @@
+# empty-qstringliteral
+
+Suggests to use an empty `QString` instead of an empty `QStringLiteral`.
+The later causes unneeded code bloat.
+
+You should use `QString()` instead of `QStringLiteral()` and use `QString("")` instead of `QStringLiteral("")`.