aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cutil.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2016-04-04 13:27:39 +0200
committerBernhard Schommer <bschommer@users.noreply.github.com>2016-04-04 13:27:39 +0200
commit1a02cbf4746bcbd059c35613d4a71cd127fbfa13 (patch)
treefebd5b7769e9577ce03917b1c51679a2eac88ce4 /cparser/Cutil.mli
parent8b0d5a0d291c66f05869c15f92539bd1d7082d3a (diff)
parent4e62a2c4b2c809ea020423e7e328ba96e379d64d (diff)
downloadcompcert-1a02cbf4746bcbd059c35613d4a71cd127fbfa13.tar.gz
compcert-1a02cbf4746bcbd059c35613d4a71cd127fbfa13.zip
Merge pull request #95 from AbsInt/noreturn
Added the _Noreturn keyword.
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r--cparser/Cutil.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli
index 3dcfe4aa..91b073ab 100644
--- a/cparser/Cutil.mli
+++ b/cparser/Cutil.mli
@@ -255,3 +255,8 @@ val subst_expr: exp IdentMap.t -> exp -> exp
val subst_init: exp IdentMap.t -> init -> init
val subst_decl: exp IdentMap.t -> decl -> decl
val subst_stmt: exp IdentMap.t -> stmt -> stmt
+
+(* Statement properties *)
+
+val contains_return: stmt -> bool
+ (* Does the stmt contain a return. *)