summaryrefslogtreecommitdiff
path: root/src/ast_util.mli
diff options
context:
space:
mode:
authorThomas Bauereiss2017-07-26 12:03:12 +0100
committerThomas Bauereiss2017-07-26 12:03:12 +0100
commit26e59493cde0ffbf1868426fe3bec158f2dbaad0 (patch)
tree2193492e4989608eb5d2fef9ed3a60aa84b9c316 /src/ast_util.mli
parenteae4d12ad793809482252be0b459bb7e634b5482 (diff)
Improve rewriting of sizeof expressions
If some type-level variables in a sizeof expression in a function body cannot be directly extracted from the parameters of the function, add a new parameter for each unresolved parameter, and rewrite calls to the function accordingly
Diffstat (limited to 'src/ast_util.mli')
-rw-r--r--src/ast_util.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast_util.mli b/src/ast_util.mli
index d7f68412..6e22d173 100644
--- a/src/ast_util.mli
+++ b/src/ast_util.mli
@@ -84,6 +84,8 @@ val string_of_pat : 'a pat -> string
val string_of_letbind : 'a letbind -> string
val string_of_index_range : index_range -> string
+val id_of_fundef : 'a fundef -> id
+
module Id : sig
type t = id
val compare : id -> id -> int