Skip to content

Commit fe7da7b

Browse files
committed
Expose Cabs2cil.currentFunctionFDEC
This can be set from Goblint before convStandaloneExp.
1 parent a6c158d commit fe7da7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/frontc/cabs2cil.mli

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,5 @@ val environment : (string, envdata * Cil.location) Hashtbl.t
109109
val genvironment : (string, envdata * Cil.location) Hashtbl.t
110110

111111
val convStandaloneExp: genv:(string, envdata * Cil.location) Hashtbl.t -> env:(string, envdata * Cil.location) Hashtbl.t -> Cabs.expression -> Cil.exp option
112+
113+
val currentFunctionFDEC: Cil.fundec ref

0 commit comments

Comments
 (0)