aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unneeded-cast/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unneeded-cast/config.json')
-rw-r--r--tests/unneeded-cast/config.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unneeded-cast/config.json b/tests/unneeded-cast/config.json
new file mode 100644
index 00000000..b39132d9
--- /dev/null
+++ b/tests/unneeded-cast/config.json
@@ -0,0 +1,14 @@
+{
+ "tests" : [
+ {
+ "filename" : "main.cpp"
+ },
+ {
+ "filename" : "dynamic_cast_over_qobjectcast.cpp",
+ "env" :
+ {
+ "CLAZY_EXTRA_OPTIONS" : "unneeded-cast-prefer-dynamic-cast-over-qobject"
+ }
+ }
+ ]
+}