Summary: It collects array accesses from all sub expressions in commands. Reviewed By: mbouaziz Differential Revision: D7165098 fbshipit-source-id: 584dc80