aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Checks.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-02-07 18:57:48 +0100
committerBernhard Schommer <bschommer@users.noreply.github.com>2017-02-17 14:09:56 +0100
commitd0778a80e625cc4a057cc6acf66e58abff13cb46 (patch)
tree99d1f75d2693e6c7fc5b1c016f4e0245906e758d /cparser/Checks.mli
parent80872f3f92e513817cb7f9396a757cf0db95c2c7 (diff)
downloadcompcert-kvx-d0778a80e625cc4a057cc6acf66e58abff13cb46.tar.gz
compcert-kvx-d0778a80e625cc4a057cc6acf66e58abff13cb46.zip
Added new module for checks on elaborated C code
The new module adds a function which is called during parse after all C transformation have taken place for adding additional checks. Currently only unknown attribute are checked. Bug 19872
Diffstat (limited to 'cparser/Checks.mli')
-rw-r--r--cparser/Checks.mli16
1 files changed, 16 insertions, 0 deletions
diff --git a/cparser/Checks.mli b/cparser/Checks.mli
new file mode 100644
index 00000000..34185542
--- /dev/null
+++ b/cparser/Checks.mli
@@ -0,0 +1,16 @@
+(* *********************************************************************)
+(* *)
+(* The Compcert verified compiler *)
+(* *)
+(* Bernhard Schommer, AbsInt Angewandte Informatik GmbH *)
+(* *)
+(* Copyright Institut National de Recherche en Informatique et en *)
+(* Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the GNU General Public License as published by *)
+(* the Free Software Foundation, either version 2 of the License, or *)
+(* (at your option) any later version. This file is also distributed *)
+(* under the terms of the INRIA Non-Commercial License Agreement. *)
+(* *)
+(* *********************************************************************)
+
+val program: C.program -> unit