Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 953 Bytes

2024-09-25-dead-code-improvements.md

File metadata and controls

5 lines (5 loc) · 953 Bytes
  • M0-1-9 - DeadCode.ql
    • 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.
  • RULE-2-2 - DeadCode.ql:
    • Query has been rewritten to report only operations that are considered dead, not statements. This should reduce false positives.
    • 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.