diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-04-09 12:25:03 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2010-04-09 12:25:03 +0000 |
commit | d966e01ea011fa66d5a5a7f9ffce4344e415981a (patch) | |
tree | 487a86c759777b54a9e9dda72c602348c9270920 /cparser/Cutil.mli | |
parent | b66aaf2d1b90ff51f54bcd2a344a6ab50ac6fe86 (diff) | |
download | compcert-d966e01ea011fa66d5a5a7f9ffce4344e415981a.tar.gz compcert-d966e01ea011fa66d5a5a7f9ffce4344e415981a.zip |
Bug fix: infinite loop in cparser/ on bit field of size 32 bits.
Algorithmic efficiency: in cparser/, precompute sizeof and alignof of composites.
Code cleanup: introduced Cutil.composite_info_{def,decl}
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1312 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r-- | cparser/Cutil.mli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli index de32a21c..9587c57b 100644 --- a/cparser/Cutil.mli +++ b/cparser/Cutil.mli @@ -64,6 +64,11 @@ val incomplete_type : Env.t -> typ -> bool (* Return true if the given type is incomplete, e.g. declared but not defined struct or union, or array type without a size. *) +(* Computing composite_info records *) + +val composite_info_decl: Env.t -> struct_or_union -> Env.composite_info +val composite_info_def: Env.t -> struct_or_union -> field list -> Env.composite_info + (* Type classification functions *) val is_void_type : Env.t -> typ -> bool |