diff options
Diffstat (limited to 'docs/checks/README-qhash-with-char-pointer-key.md')
-rw-r--r-- | docs/checks/README-qhash-with-char-pointer-key.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/checks/README-qhash-with-char-pointer-key.md b/docs/checks/README-qhash-with-char-pointer-key.md new file mode 100644 index 00000000..7d475105 --- /dev/null +++ b/docs/checks/README-qhash-with-char-pointer-key.md @@ -0,0 +1,6 @@ +# qhash-with-char-pointer-key + +Finds cases of `QHash<const char *, T>`. It's error-prone as the key is just compared +by the address of the string literal, and not the string literal itself. + +Check is disabled by default as there are valid uses-cases. |