Skip to content

Commit 785974b

Browse files
committed
DeadCode: Add change note
1 parent 35d2f56 commit 785974b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- `M0-1-9` - `DeadCode.ql`
2+
- Remove false positives for statements where the enclosing function is compiled multiple times, either as part of different targets or a different template instantiations. Previously we would see false positives where a statement was dead in one instance of the code, but not other instances. We now only consider a statement dead if it is dead in all instances of that code.
3+
- `RULE-2-2` - `DeadCode.ql`:
4+
- Query has been rewritten to report only _operations_ that are considered dead, not statements. This should reduce false positives.
5+
- Remove false positives for operations where the enclosing function is compiled multiple times, either as part of different targets or a different template instantiations. Previously we would see false positives where a operation was dead in one instance of the code, but not other instances. We now only consider a operation dead if it is dead in all instances of that code.

0 commit comments

Comments
 (0)