Skip to content

Commit e3ebbdf

Browse files
committed
Fix interactive indentation (PR #391)
1 parent fa83790 commit e3ebbdf

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/maingoblint.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ let diff_and_rename current_file =
514514
if not (List.is_empty not_found) then begin
515515
List.iter
516516
(fun s ->
517-
warn @@ "Should restart " ^ s ^ " but no such global could not be found in the CIL-file.")
517+
warn @@ "Should restart " ^ s ^ " but no such global could not be found in the CIL-file.")
518518
not_found;
519519
flush stderr
520520
end;

src/solvers/td3.ml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ module WP =
829829
false
830830
) rho_write
831831

832-
(* TODO: prune other data structures? *)
832+
(* TODO: prune other data structures? *)
833833
end
834834
in
835835

@@ -907,10 +907,10 @@ module WP =
907907

908908
(* hook to collect new messages *)
909909
Messages.Table.add_hook := (fun m ->
910-
match !CurrentVarS.current_var with
911-
| Some x -> HM.add var_messages x m
912-
| None -> ()
913-
)
910+
match !CurrentVarS.current_var with
911+
| Some x -> HM.add var_messages x m
912+
| None -> ()
913+
)
914914

915915
let finalize ~vh ~reachable =
916916
finalize ~vh ~reachable; (* disable warning like standard Warn *)
@@ -1023,36 +1023,36 @@ module WP =
10231023
else if loaded && GobConfig.get_bool "ana.opt.hashcons" then (
10241024
let rho' = HM.create (HM.length data.rho) in
10251025
HM.iter (fun k v ->
1026-
(* call hashcons on contexts and abstract values; results in new tags *)
1027-
let k' = S.Var.relift k in
1028-
let v' = S.Dom.relift v in
1029-
HM.replace rho' k' v';
1030-
) data.rho;
1026+
(* call hashcons on contexts and abstract values; results in new tags *)
1027+
let k' = S.Var.relift k in
1028+
let v' = S.Dom.relift v in
1029+
HM.replace rho' k' v';
1030+
) data.rho;
10311031
data.rho <- rho';
10321032
let stable' = HM.create (HM.length data.stable) in
10331033
HM.iter (fun k v ->
1034-
HM.replace stable' (S.Var.relift k) v
1035-
) data.stable;
1034+
HM.replace stable' (S.Var.relift k) v
1035+
) data.stable;
10361036
data.stable <- stable';
10371037
let wpoint' = HM.create (HM.length data.wpoint) in
10381038
HM.iter (fun k v ->
1039-
HM.replace wpoint' (S.Var.relift k) v
1040-
) data.wpoint;
1039+
HM.replace wpoint' (S.Var.relift k) v
1040+
) data.wpoint;
10411041
data.wpoint <- wpoint';
10421042
let infl' = HM.create (HM.length data.infl) in
10431043
HM.iter (fun k v ->
1044-
HM.replace infl' (S.Var.relift k) (VS.map S.Var.relift v)
1045-
) data.infl;
1044+
HM.replace infl' (S.Var.relift k) (VS.map S.Var.relift v)
1045+
) data.infl;
10461046
data.infl <- infl';
10471047
let side_infl' = HM.create (HM.length data.side_infl) in
10481048
HM.iter (fun k v ->
1049-
HM.replace side_infl' (S.Var.relift k) (VS.map S.Var.relift v)
1050-
) data.side_infl;
1049+
HM.replace side_infl' (S.Var.relift k) (VS.map S.Var.relift v)
1050+
) data.side_infl;
10511051
data.side_infl <- side_infl';
10521052
let side_dep' = HM.create (HM.length data.side_dep) in
10531053
HM.iter (fun k v ->
1054-
HM.replace side_dep' (S.Var.relift k) (VS.map S.Var.relift v)
1055-
) data.side_dep;
1054+
HM.replace side_dep' (S.Var.relift k) (VS.map S.Var.relift v)
1055+
) data.side_dep;
10561056
data.side_dep <- side_dep';
10571057
data.st <- List.map (fun (k, v) -> S.Var.relift k, S.Dom.relift v) data.st;
10581058
let var_messages' = HM.create (HM.length data.var_messages) in

0 commit comments

Comments
 (0)