Commit 6aee03e
committed
Suppress dataflow deprecation warning
In CodeQL CLI 2.14 it is not possible to include deprecation warnings in
test files because the paths are absolute, and so are not portable
between different systems. We avoid the deprecation warning for now by
copying the relevant parts of the dataflow library and removing the
deprecation warning.
This workaround can be removed when we upgrade to 2.15, as the
deprecation warning has been fixed to not use absolute paths.1 parent c5dc05b commit 6aee03e
File tree
177 files changed
+220
-466
lines changed- cpp
- autosar
- src/rules
- A13-1-3
- A13-2-1
- A15-1-3
- A15-2-2
- A18-1-4
- A18-5-2
- A18-5-8
- A18-9-4
- A20-8-4
- A27-0-4
- A5-0-4
- A5-1-7
- A7-5-1
- A8-4-11
- A8-4-12
- A8-4-4
- A9-3-1
- M0-3-2
- M3-9-3
- M5-0-17
- M5-2-2
- M9-3-1
- test/rules
- A13-1-3
- A13-2-1
- A15-1-3
- A15-2-2
- A18-1-4
- A18-5-8
- A18-9-4
- A20-8-4
- A27-0-4
- A5-0-4
- A5-1-7
- A7-5-1
- A8-4-11
- A8-4-12
- A8-4-9
- A9-3-1
- M0-3-2
- M3-9-3
- M9-3-1
- cert
- src/rules
- CTR52-CPP
- CTR56-CPP
- EXP50-CPP
- EXP51-CPP
- MEM52-CPP
- MEM53-CPP
- MSC51-CPP
- test/rules
- CTR52-CPP
- CTR53-CPP
- CTR56-CPP
- EXP50-CPP
- EXP51-CPP
- MEM52-CPP
- MEM53-CPP
- MSC51-CPP
- common
- src/codingstandards/cpp
- allocations
- dataflow
- resources
- rules
- accessofnonexistingmemberthroughpointertomember
- accessofundefinedmemberthroughnullpointer
- accessofundefinedmemberthroughuninitializedstaticpointer
- basicstringmaynotbenullterminated
- constlikereturnvalue
- containeraccesswithoutrangecheck
- danglingcapturewhenmovinglambdaobject
- danglingcapturewhenreturninglambdaobject
- donotaccessaclosedfile
- donotallowamutextogooutofscopewhilelocked
- donotdestroyamutexwhileitislocked
- donotsubtractpointersaddressingdifferentarrays
- donotusepointerarithmetictoaddressdifferentarrays
- donotuserelationaloperatorswithdifferingarrays
- invalidatedenvstringpointerswarn
- invalidatedenvstringpointers
- iofstreammissingpositioning
- movedfromobjectsunspecifiedstate
- nonconstantformat
- placementnewinsufficientstorage
- placementnewnotproperlyaligned
- stringnumberconversionmissingerrorcheck
- throwingoperatornewreturnsnull
- useonlyarrayindexingforpointerarithmetic
- standardlibrary
- test/deviations
- deviation_permits_basic_test
- deviations_basic_test
- deviations_report_deviated
- c
- cert
- src/rules
- ARR37-C
- ARR39-C
- CON30-C
- CON34-C
- DCL30-C
- ERR30-C
- EXP30-C
- EXP36-C
- EXP37-C
- EXP39-C
- EXP40-C
- EXP43-C
- FIO37-C
- FIO44-C
- FIO45-C
- MEM35-C
- MEM36-C
- MSC33-C
- MSC39-C
- SIG30-C
- SIG35-C
- STR30-C
- STR31-C
- STR32-C
- test/rules
- ARR32-C
- ARR37-C
- ARR39-C
- CON30-C
- CON34-C
- DCL30-C
- ERR30-C
- ERR32-C
- ERR33-C
- EXP30-C
- EXP36-C
- EXP37-C
- EXP39-C
- EXP40-C
- EXP43-C
- FIO40-C
- FIO44-C
- FIO45-C
- MEM35-C
- MEM36-C
- MSC33-C
- MSC39-C
- SIG30-C
- SIG35-C
- STR30-C
- STR31-C
- STR32-C
- common/src/codingstandards/c
- misra
- src/rules
- RULE-17-5
- RULE-17-7
- RULE-19-1
- RULE-21-14
- RULE-22-3
- RULE-22-4
- test/rules
- RULE-17-5
- RULE-21-14
- RULE-22-3
- RULE-22-4
- RULE-22-7
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
177 files changed
+220
-466
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments