diff options
Diffstat (limited to 'tools/clang-tidy/test/performance-faster-string-find.json')
-rw-r--r-- | tools/clang-tidy/test/performance-faster-string-find.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/performance-faster-string-find.json b/tools/clang-tidy/test/performance-faster-string-find.json new file mode 100644 index 0000000000..1ab2d7ba08 --- /dev/null +++ b/tools/clang-tidy/test/performance-faster-string-find.json @@ -0,0 +1,8 @@ +[ + [ + "warning", + "'find' called with a string literal consisting of a single character; consider using the more effective overload accepting a character", + "performance-faster-string-find" + ], + { "reliability": "high" } +] |