aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Builtins.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-07-02 14:55:31 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-07-17 09:17:28 +0200
commitfb20aab431a768299118ed30822af59cab13325e (patch)
tree032ece0aa8bab2d9932b91056fbf0731fd72cf45 /cparser/Builtins.mli
parent8b0de52ffa302298abe8d0d6e3b6ed339a2354ba (diff)
downloadcompcert-fb20aab431a768299118ed30822af59cab13325e.tar.gz
compcert-fb20aab431a768299118ed30822af59cab13325e.zip
Remove the cparser/Builtins module
Move its definitions to modules C (the type `builtins`) and Env (the operations that deal with the initial environment). Reasons for the refactoring: 1- The name "Builtins" will soon be reused for a Coq module 2- `Env.initial()` makes more sense than `Builtins.environment()`.
Diffstat (limited to 'cparser/Builtins.mli')
-rw-r--r--cparser/Builtins.mli25
1 files changed, 0 insertions, 25 deletions
diff --git a/cparser/Builtins.mli b/cparser/Builtins.mli
deleted file mode 100644
index 7f9d78a9..00000000
--- a/cparser/Builtins.mli
+++ /dev/null
@@ -1,25 +0,0 @@
-(* *********************************************************************)
-(* *)
-(* The Compcert verified compiler *)
-(* *)
-(* Xavier Leroy, INRIA Paris-Rocquencourt *)
-(* *)
-(* 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 environment: unit -> Env.t
-val identifiers: unit -> C.ident list
-val declarations: unit -> C.globdecl list
-
-type t = {
- typedefs: (string * C.typ) list;
- functions: (string * (C.typ * C.typ list * bool)) list
-}
-
-val set: t -> unit