summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/modernize-use-equals-default.json
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang-tidy/test/modernize-use-equals-default.json')
-rw-r--r--tools/clang-tidy/test/modernize-use-equals-default.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/clang-tidy/test/modernize-use-equals-default.json b/tools/clang-tidy/test/modernize-use-equals-default.json
new file mode 100644
index 0000000000..5119e361b3
--- /dev/null
+++ b/tools/clang-tidy/test/modernize-use-equals-default.json
@@ -0,0 +1,13 @@
+[
+ [
+ "warning",
+ "use '= default' to define a trivial default constructor",
+ "modernize-use-equals-default"
+ ],
+ [
+ "warning",
+ "use '= default' to define a trivial destructor",
+ "modernize-use-equals-default"
+ ],
+ { "reliability": "high" }
+]