aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cutil.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2017-02-17 13:47:54 +0100
committerGitHub <noreply@github.com>2017-02-17 13:47:54 +0100
commit920686c5feabda7a7b7310e89e9d0e18a822284e (patch)
tree78971539decbd3f8d7abca5ff1107e0295d275a9 /cparser/Cutil.mli
parent9b63d90b40974eed35bd199fcfc6ccbabb1ed5b7 (diff)
parentdb98d9de791c997ccb659ede00239d74926f68f4 (diff)
downloadcompcert-920686c5feabda7a7b7310e89e9d0e18a822284e.tar.gz
compcert-920686c5feabda7a7b7310e89e9d0e18a822284e.zip
Merge pull request #172 from AbsInt/std_noreturn_fun
Treat as _Noreturn the standard C11 functions that are _Noreturn but not always declared as such in header files.
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r--cparser/Cutil.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli
index a1b9cd26..715cc123 100644
--- a/cparser/Cutil.mli
+++ b/cparser/Cutil.mli
@@ -210,6 +210,8 @@ val type_of_member : Env.t -> field -> typ
(* Return the type of accessing the given field [fld].
Normally it's [fld.fld_type] but there is a special case for
small unsigned bitfields. *)
+val is_call_to_fun : exp -> string -> bool
+ (* Test whether the caller is the given function *)
val is_debug_stmt : stmt -> bool
(* Is the given statement a call to debug builtin? *)
val is_literal_0 : exp -> bool