[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [clazy] checks: rename some README's to be consistent with their checker's name
From: Allen Winter <allen.winter () kdab ! com>
Date: 2016-06-14 20:05:12
Message-ID: E1bCuaG-0000nl-D6 () scm ! kde ! org
[Download RAW message or body]
Git commit 82059584101fd35b2ec76a2a38206b1f4e0b83c3 by Allen Winter.
Committed on 14/06/2016 at 20:04.
Pushed by winterz into branch 'master'.
rename some README's to be consistent with their checker's name
R +1 -1 checks/level0/README-qmap-with-pointer-key.md [from: checks/=
level0/README-qmap-with-key-pointer.md - 089% similarity]
R +1 -1 checks/level0/README-qvariant-template-instantiation.md [fro=
m: checks/level0/README-variant-template-instantiation.md - 079% similarity]
R +1 -1 checks/level1/README-missing-qobject-macro.md [from: checks/=
level1/README-missing-qobject.md - 093% similarity]
R +1 -1 checks/level2/README-missing-typeinfo.md [from: checks/level=
2/README-missing-type-info.md - 093% similarity]
http://commits.kde.org/clazy/82059584101fd35b2ec76a2a38206b1f4e0b83c3
diff --git a/checks/level0/README-qmap-with-key-pointer.md b/checks/level0/=
README-qmap-with-pointer-key.md
similarity index 89%
rename from checks/level0/README-qmap-with-key-pointer.md
rename to checks/level0/README-qmap-with-pointer-key.md
index 9c10842..6fe5ed9 100644
--- a/checks/level0/README-qmap-with-key-pointer.md
+++ b/checks/level0/README-qmap-with-pointer-key.md
@@ -1,4 +1,4 @@
-# qmap-with-key-pointer
+# qmap-with-pointer-key
=
Finds cases where you're using `QMap<K,T>` and K is a pointer.
=
diff --git a/checks/level0/README-variant-template-instantiation.md b/check=
s/level0/README-qvariant-template-instantiation.md
similarity index 79%
rename from checks/level0/README-variant-template-instantiation.md
rename to checks/level0/README-qvariant-template-instantiation.md
index 57c99ce..9a8f5e9 100644
--- a/checks/level0/README-variant-template-instantiation.md
+++ b/checks/level0/README-qvariant-template-instantiation.md
@@ -1,4 +1,4 @@
-# variant-template-instantiation
+# qvariant-template-instantiation
=
Detects when you're using `QVariant::value<Foo>()` instead of `QVariant::t=
oFoo()`.
=
diff --git a/checks/level1/README-missing-qobject.md b/checks/level1/README=
-missing-qobject-macro.md
similarity index 93%
rename from checks/level1/README-missing-qobject.md
rename to checks/level1/README-missing-qobject-macro.md
index 86854e5..6d2f574 100644
--- a/checks/level1/README-missing-qobject.md
+++ b/checks/level1/README-missing-qobject-macro.md
@@ -1,4 +1,4 @@
-# missing-qobject
+# missing-qobject-macro
=
Finds `QObject` derived classes that don't have a Q_OBJECT macro.
=
diff --git a/checks/level2/README-missing-type-info.md b/checks/level2/READ=
ME-missing-typeinfo.md
similarity index 93%
rename from checks/level2/README-missing-type-info.md
rename to checks/level2/README-missing-typeinfo.md
index 75c4bf8..675fc2f 100644
--- a/checks/level2/README-missing-type-info.md
+++ b/checks/level2/README-missing-typeinfo.md
@@ -1,4 +1,4 @@
-# missing-type-info
+# missing-typeinfo
=
Suggests usage of `Q_PRIMITIVE_TYPE` or `Q_MOVABLE_TYPE` in cases where yo=
u're using `QList<T>` and `sizeof(T) > sizeof(void*)`
or using `QVector<T>`, unless they already have a type info classification.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic