Move __clone check to nast_check
Summary:
Trying to break up naming into separate components - This stack attempts to clean up and move error checks from naming.ml to into nast_check by converting them to nast_visitors. Some of these passes do not require names or calls to the naming table so they could be parser errors - but keeping them consistent until we decide what we want to do with them later.
Moves check of __clone to nast_check
Reviewed By: kmeht
Differential Revision:
D17531455
fbshipit-source-id:
a6cbaff8468fe29a598422661bff79d7ae31dfaa