diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-04-28 13:17:30 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-04-28 13:17:30 +0200 |
commit | 74c3e0e8615c2d943eae813b82b11cbfe74d4a82 (patch) | |
tree | 1901feb7ca3bc0e2f293b21c582e52b69a84c61f /cparser/Cutil.mli | |
parent | 916bfc0c4f2a025e9aa642cf616cd8c6ace4ec70 (diff) | |
download | compcert-74c3e0e8615c2d943eae813b82b11cbfe74d4a82.tar.gz compcert-74c3e0e8615c2d943eae813b82b11cbfe74d4a82.zip |
Detect and reject "&" operator applied to "register" local variable or to a bit field.
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r-- | cparser/Cutil.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli index 9d41f8fa..b1f77944 100644 --- a/cparser/Cutil.mli +++ b/cparser/Cutil.mli @@ -195,6 +195,10 @@ val fundef_typ: fundef -> typ val int_representable: int64 -> int -> bool -> bool (* Is the given int64 representable with the given number of bits and signedness? *) +val field_of_dot_access: Env.t -> typ -> string -> field + (* Return the field info for a [x.field] access *) +val field_of_arrow_access: Env.t -> typ -> string -> field + (* Return the field info for a [x->field] access *) (* Constructors *) |