Preprocessor statements now abort Dead Write analysis.

This commit is contained in:
2021-08-05 15:46:16 +02:00
parent 921449cbb8
commit 6c9a726b86
4 changed files with 20 additions and 9 deletions
@@ -4,7 +4,8 @@ Finds dead writes to registers, i.e. writes that will not have any effect.
Issues a weak warning if the instruction affects only condition codes that are later tested.
Analysis is terminated at the next global label or instruction that reads the register or changes control flow.
Analysis is terminated at the next global label or instruction that reads the register or changes control flow
(or preprocessor statements, like conditional IF statements).
<!-- tooltip end -->
<p>Note: As there is no evaluation of macros right now, the inspection might report some false positives.</p>
</body>