Small improvements for 'depend' clause, couple perf improvements for 'for' directive and bugfix for VLA capturing