driveby tweak: use Decl to filter types instead of NameType
commit65140e1b3724fe9f766802128eac39287e3556aa
authorEdwin Smith <smith@fb.com>
Fri, 27 May 2022 10:19:49 +0000 (27 03:19 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 27 May 2022 10:19:49 +0000 (27 03:19 -0700)
tree2c6817338b03f6cbccaae1c16271a12aaa4b23f0
parent96167d396f4e0fe17957abdcda2beb03e8667453
driveby tweak: use Decl to filter types instead of NameType

Summary: Computing NameType is more indirect than needed.

Differential Revision: D36578494

fbshipit-source-id: ddf9f8c10f4f20d39fbdd772fdd116292f86e58d
hphp/hack/src/oxidized_by_ref/manual/direct_decl_parser.rs