Use defs in shallow decl fanout instead of get_classes
commit6293b755705f13d8fe977280085ef0449255d2a5
authorBob Ren <bobren@fb.com>
Tue, 26 Oct 2021 17:08:34 +0000 (26 10:08 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 26 Oct 2021 17:11:36 +0000 (26 10:11 -0700)
tree6e1b5ed1645ee27f5bd6bb60ee95cbc1141dca91
parentf932d8e2702bc40ad7242924adda9b77dc539231
Use defs in shallow decl fanout instead of get_classes

Summary: This is really just cleanup since it effectively does the same thing as previously. We still use get_classes_in_file in for decl invalidation, eg. in invalidate_folded_classes_for_shallow_fanout. I'll see if I can get rid of that dependency in a separate diff.

Differential Revision: D31911803

fbshipit-source-id: d58b0cde5c8ed5d311db4a834cba32f370483e12
hphp/hack/src/decl/decl_redecl_service.ml
hphp/hack/src/decl/shallow_decl_compare.ml
hphp/hack/src/decl/shallow_decl_compare.mli