aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level1/README-auto-unexpected-qstringbuilder.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/checks/level1/README-auto-unexpected-qstringbuilder.md')
-rw-r--r--src/checks/level1/README-auto-unexpected-qstringbuilder.md16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/checks/level1/README-auto-unexpected-qstringbuilder.md b/src/checks/level1/README-auto-unexpected-qstringbuilder.md
deleted file mode 100644
index 0c9e8143..00000000
--- a/src/checks/level1/README-auto-unexpected-qstringbuilder.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# auto-unexpected-qstringbuilder
-
-Finds places where auto is deduced to be `QStringBuilder` instead of `QString`, which introduces crashes.
-Also warns for lambdas returning `QStringBuilder`.
-
-#### Example
-
- #define QT_USE_QSTRINGBUILDER
- #include <QtCore/QString>
- (...)
- const auto path = "hello " + QString::fromLatin1("world");
- qDebug() << path; // CRASH
-
-#### Fixits
-
- export CLAZY_FIXIT="fix-auto-unexpected-qstringbuilder"