Summary: the predicate to check that a decl is const was not working for VarDecl. This diff fixes this Reviewed By: jvillard Differential Revision: D14106798 fbshipit-source-id: 1f6c24113