aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Transform.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-04-28 11:21:59 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-04-28 11:21:59 +0200
commitb04bb783badb9051c62b26fb1858f916d0e4ccd0 (patch)
treec102a6ccdcfad8b4b3a76cffc2019742232a7cb3 /cparser/Transform.mli
parent3c6f5343e0e64b273658b6b3508a8dd6c29b8cef (diff)
downloadcompcert-kvx-b04bb783badb9051c62b26fb1858f916d0e4ccd0.tar.gz
compcert-kvx-b04bb783badb9051c62b26fb1858f916d0e4ccd0.zip
Extended inline asm: handle missing cases.
Bitfields: better translation of initializers and compound literals; run this pass before unblocking. Transform.stmt: extend with ability to treat unblocked code. test/regression: more bitfield tests.
Diffstat (limited to 'cparser/Transform.mli')
-rw-r--r--cparser/Transform.mli6
1 files changed, 4 insertions, 2 deletions
diff --git a/cparser/Transform.mli b/cparser/Transform.mli
index 718a2f9c..57a4737b 100644
--- a/cparser/Transform.mli
+++ b/cparser/Transform.mli
@@ -50,8 +50,10 @@ val expand_postincrdecr :
(** Generic transformation of a statement *)
-val stmt : (C.location -> Env.t -> context -> C.exp -> C.exp) ->
- Env.t -> C.stmt -> C.stmt
+val stmt :
+ expr: (C.location -> Env.t -> context -> C.exp -> C.exp) ->
+ ?decl: (Env.t -> C.decl -> C.decl) ->
+ Env.t -> C.stmt -> C.stmt
(** Generic transformation of a function definition *)