aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level0/README-wrong-qglobalstatic.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/checks/level0/README-wrong-qglobalstatic.md')
-rw-r--r--src/checks/level0/README-wrong-qglobalstatic.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/checks/level0/README-wrong-qglobalstatic.md b/src/checks/level0/README-wrong-qglobalstatic.md
deleted file mode 100644
index 70734870..00000000
--- a/src/checks/level0/README-wrong-qglobalstatic.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# wrong-qglobalstatic
-
-Finds `Q_GLOBAL_STATIC`s being used with trivial types.
-This is unnecessary and creates code bloat.
-
-#### Example:
-
- struct Trivial
- {
- int v;
- };
-
- Q_GLOBAL_STATIC(Trivial, t); // Wrong
- static Trivial t; // Correct