diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-07-29 09:15:36 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-07-29 09:15:36 +0200 |
commit | 21156a2fcf48764762c7f2209fa850024378d83a (patch) | |
tree | e56bb6ee6b8099b3520c4e97ccd1cd776ff9eb7a /cparser/Cutil.mli | |
parent | c7832c32253cdc2123313731c7cbbace4fc8332c (diff) | |
download | compcert-21156a2fcf48764762c7f2209fa850024378d83a.tar.gz compcert-21156a2fcf48764762c7f2209fa850024378d83a.zip |
Classified all warnings and added various options.
Now each warning either has a name and can be turned on/off, made
into an error,etc. or is a warning that always will be triggered.
The message of the warnings are similar to the ones emited by
gcc/clang and all fit into one line.
Furthermore the diagnostics are now colored if colored output is
available.
Bug 18004
Diffstat (limited to 'cparser/Cutil.mli')
-rw-r--r-- | cparser/Cutil.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cparser/Cutil.mli b/cparser/Cutil.mli index 91b073ab..b724f573 100644 --- a/cparser/Cutil.mli +++ b/cparser/Cutil.mli @@ -198,6 +198,9 @@ val valid_assignment : Env.t -> exp -> typ -> bool the given type is allowed. *) val valid_cast : Env.t -> typ -> typ -> bool (* Check that a cast from the first type to the second is allowed. *) +val int_pointer_conversion: Env.t -> typ -> typ -> bool + (* Check that a cast from the first type to the second is an integer + conversion *) val fundef_typ: fundef -> typ (* Return the function type for the given function definition. *) val int_representable: int64 -> int -> bool -> bool |