[infer][scheduler] no need to filter the defined procedures when running the checkers

Summary: Filtering the defined procedure at this level is not necessary. This check already happens when running the analysis in Ondemand. This could also cause flakiness if the "definedness" here does not agree with the check done in Ondemand. The fact that the analysis of a procedure is triggered from the top-level iteration or on-demand when analyzing another procedure is not deterministic.

Reviewed By: sblackshear

Differential Revision: D6575057

fbshipit-source-id: ff0bc2d
master
Jeremy Dubreil 7 years ago committed by Facebook Github Bot
parent b06676f309
commit 1db403c51d

@ -55,7 +55,7 @@ let iterate_procedure_callbacks get_proc_desc exe_env summary proc_desc =
let get_procs_in_file proc_name =
match Exe_env.get_cfg exe_env proc_name with
| Some cfg ->
List.map ~f:Procdesc.get_proc_name (Cfg.get_defined_procs cfg)
List.map ~f:Procdesc.get_proc_name (Cfg.get_all_procs cfg)
| None ->
[]
in

Loading…
Cancel
Save