Present-Iven note: Must improve on git fetch upstream and git merge upstream/next before pushing my own commits. There's other work that gets done I should be aware of.
> Closes #5610 This excludes results for VariableNotUsedInspection when there is an assignment that is the use as counter for a For Next loop. I opted to inspect the context parents instead of incorporating it as a flag on the IdentifierReference because it is a rather special use case and it is rather complicated to set the flag in the expression resolution. Moreover, I chose to perform the check for For Next loop usage only for declarations that are already suspect based on the...
simple criterion for this inspection. This means that the references are iterated twice for these but it should happen only for a few variables instead of all variables.