Skip to content

Commit e2a6202

Browse files
Commit fixes outside of files with merge conflicts
1 parent 443638a commit e2a6202

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

cpp/common/src/codingstandards/cpp/rules/donotdeleteanarraythroughapointeroftheincorrecttypeshared/DoNotDeleteAnArrayThroughAPointerOfTheIncorrectTypeShared.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import cpp
88
import codingstandards.cpp.Customizations
99
import codingstandards.cpp.Exclusions
10-
import semmle.code.cpp.dataflow.DataFlow
10+
import semmle.code.cpp.dataflow.new.DataFlow
1111

1212
signature module DoNotDeleteAnArrayThroughAPointerOfTheIncorrectTypeSharedConfigSig {
1313
Query getQuery();

cpp/common/src/codingstandards/cpp/rules/possibledataracebetweenthreadsshared/PossibleDataRaceBetweenThreadsShared.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import cpp
99
import codingstandards.cpp.Customizations
1010
import codingstandards.cpp.Exclusions
11-
import codingstandards.cpp.Concurrency
11+
import codingstandards.cpp.ConcurrencyNew
1212
import codingstandards.cpp.lifetimes.StorageDuration
1313

1414
signature module PossibleDataRaceBetweenThreadsSharedConfigSig {

cpp/common/test/rules/donotdeleteanarraythroughapointeroftheincorrecttypeshared/DoNotDeleteAnArrayThroughAPointerOfTheIncorrectTypeShared.expected

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
problems
22
| test.cpp:9:12:9:13 | l1 | test.cpp:6:19:6:37 | new[] | test.cpp:9:12:9:13 | l1 | Array of type 'DerivedClass *' is deleted through a pointer of type 'BaseClass *'. |
33
edges
4+
| test.cpp:6:19:6:37 | new[] | test.cpp:6:19:6:37 | new[] | provenance | |
45
| test.cpp:6:19:6:37 | new[] | test.cpp:9:12:9:13 | l1 | provenance | |
6+
| test.cpp:7:22:7:40 | new[] | test.cpp:7:22:7:40 | new[] | provenance | |
57
| test.cpp:7:22:7:40 | new[] | test.cpp:10:12:10:13 | l2 | provenance | |
68
nodes
79
| test.cpp:6:19:6:37 | new[] | semmle.label | new[] |
10+
| test.cpp:6:19:6:37 | new[] | semmle.label | new[] |
11+
| test.cpp:7:22:7:40 | new[] | semmle.label | new[] |
812
| test.cpp:7:22:7:40 | new[] | semmle.label | new[] |
913
| test.cpp:9:12:9:13 | l1 | semmle.label | l1 |
1014
| test.cpp:10:12:10:13 | l2 | semmle.label | l2 |

0 commit comments

Comments
 (0)