Skip to content

Commit 0769cfd

Browse files
committed
Fix indentation (PR #752)
1 parent f0e71e3 commit 0769cfd

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/witness/witnessUtil.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ struct
178178

179179
let add (file_loc_es: t) (loc: Cil.location) (e: E.t): unit =
180180
FileH.modify_def LocM.empty loc.file (
181-
LocM.modify_def ES.empty loc (ES.add e)
182-
) file_loc_es
181+
LocM.modify_def ES.empty loc (ES.add e)
182+
) file_loc_es
183183

184184
let find_opt (file_loc_es: t) (loc: Cil.location): ES.t option =
185185
let (let*) = Option.bind in (* TODO: move to general library *)

src/witness/yamlWitness.ml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,19 @@ struct
5656

5757
let loop_invariant ~task ~location ~(invariant): Entry.t = {
5858
entry_type = LoopInvariant {
59-
location;
60-
loop_invariant = invariant;
61-
};
59+
location;
60+
loop_invariant = invariant;
61+
};
6262
metadata = metadata ~task ();
6363
}
6464

6565
(* non-standard extension *)
6666
let precondition_loop_invariant ~task ~location ~precondition ~(invariant): Entry.t = {
6767
entry_type = PreconditionLoopInvariant {
68-
location;
69-
loop_invariant = invariant;
70-
precondition;
71-
};
68+
location;
69+
loop_invariant = invariant;
70+
precondition;
71+
};
7272
metadata = metadata ~task ();
7373
}
7474

@@ -86,9 +86,9 @@ struct
8686

8787
let loop_invariant_certificate ~target ~(certification): Entry.t = {
8888
entry_type = LoopInvariantCertificate {
89-
target;
90-
certification;
91-
};
89+
target;
90+
certification;
91+
};
9292
metadata = metadata ();
9393
}
9494

src/witness/yamlWitnessType.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ struct
318318

319319
let to_yaml {entry_type; metadata} =
320320
`O ([
321-
("entry_type", `String (EntryType.entry_type entry_type));
322-
("metadata", Metadata.to_yaml metadata);
321+
("entry_type", `String (EntryType.entry_type entry_type));
322+
("metadata", Metadata.to_yaml metadata);
323323
] @ EntryType.to_yaml' entry_type)
324324

325325
let of_yaml y =

0 commit comments

Comments
 (0)