Skip to content

Commit

Permalink
add version information to InferAnalyze output
Browse files Browse the repository at this point in the history
Summary:
@public
This changes "Starting analysis" into
"Starting analysis (Infer version XXX)".

Test Plan:
  infer -- clang -c hello.c

shows "Starting analysis (Infer version git-6b9fb8838bcabd2af881554d296963a849b14f50)"
  • Loading branch information
jvillard committed Jun 10, 2015
1 parent 2610830 commit 4820a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infer/src/backend/inferanalyze.ml
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ let analyzer_err_name = "analyzer_err"
let () =
let () =
match !cluster_cmdline with
| None -> L.stdout "Starting analysis@.";
| None -> L.stdout "Starting analysis (Infer version %s)@." Version.versionString;
| Some clname -> L.stdout "Cluster %s@." clname in
RegisterCheckers.register ();
Facebook.register_checkers ();
Expand Down

0 comments on commit 4820a0b

Please sign in to comment.