Skip to content

Commit cc725c6

Browse files
committed
Fix ApronAnalysis indentation (PR #742)
1 parent 57850dc commit cc725c6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/analyses/apron/apronAnalysis.apron.ml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,12 @@ struct
113113
let rec assign_to_global_wrapper (ask:Queries.ask) getg sideg st lv f =
114114
match lv with
115115
| (Var v, NoOffset) when AD.varinfo_tracked v ->
116-
if not v.vglob && not (ThreadEscape.has_escaped ask v) then
117-
(if ask.f (Queries.IsMultiple v) then
116+
if not v.vglob && not (ThreadEscape.has_escaped ask v) then (
117+
if ask.f (Queries.IsMultiple v) then
118118
{st with apr = AD.join (f st v) st.apr}
119-
else
120-
{st with apr = f st v})
119+
else
120+
{st with apr = f st v}
121+
)
121122
else (
122123
let v_out = Goblintutil.create_var @@ makeVarinfo false (v.vname ^ "#out") v.vtype in (* temporary local g#out for global g *)
123124
let st = {st with apr = AD.add_vars st.apr [V.local v_out]} in (* add temporary g#out *)

0 commit comments

Comments
 (0)