Skip to content

Commit 56cc455

Browse files
committed
Convert A8-4-9 to the new dataflow library
1 parent 3bfaf5b commit 56cc455

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cpp/autosar/src/rules/A8-4-9/InOutParametersDeclaredAsTNotModified.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import codingstandards.cpp.autosar
2121
import codingstandards.cpp.FunctionParameter
2222
import codingstandards.cpp.ConstHelpers
2323
import codingstandards.cpp.Operator
24-
import semmle.code.cpp.dataflow.DataFlow
24+
import semmle.code.cpp.dataflow.new.DataFlow
2525

2626
/**
2727
* Non-const T& `Parameter`s to `Function`s

cpp/autosar/test/rules/A8-4-9/InOutParametersDeclaredAsTNotModified.expected

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
WARNING: module 'DataFlow' has been deprecated and may be removed in future (InOutParametersDeclaredAsTNotModified.ql:50,7-15)
2-
WARNING: module 'DataFlow' has been deprecated and may be removed in future (InOutParametersDeclaredAsTNotModified.ql:64,7-15)
31
| test.cpp:4:13:4:13 | i | In-out parameter i that is not written to. |
42
| test.cpp:7:22:7:24 | str | In-out parameter str that is not read from. |
53
| test.cpp:18:14:18:14 | i | In-out parameter i that is not read from. |

0 commit comments

Comments
 (0)