summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/performance-unnecessary-copy-initialization.json
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/performance-unnecessary-copy-initialization.json')
-rw-r--r--tools/clang-tidy/test/performance-unnecessary-copy-initialization.json8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/performance-unnecessary-copy-initialization.json b/tools/clang-tidy/test/performance-unnecessary-copy-initialization.json
new file mode 100644
index 0000000000..fcb16746ed
--- /dev/null
+++ b/tools/clang-tidy/test/performance-unnecessary-copy-initialization.json
@@ -0,0 +1,8 @@
+[
+ [
+ "warning",
+ "the const qualified variable 'UnnecessaryCopy' is copy-constructed from a const reference but is never used; consider removing the statement",
+ "performance-unnecessary-copy-initialization"
+ ],
+ { "reliability": "high" }
+]