Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama Clang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Frama Clang
Commits
a82ea2be
Commit
a82ea2be
authored
3 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
OCaml 4.13 compatibility
parent
0f8e9caa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gen_ast.mli
+1
-0
1 addition, 0 deletions
gen_ast.mli
reorder_defs.ml
+3
-3
3 additions, 3 deletions
reorder_defs.ml
with
4 additions
and
3 deletions
gen_ast.mli
0 → 100644
+
1
−
0
View file @
a82ea2be
(* Nothing is exported *)
This diff is collapsed.
Click to expand it.
reorder_defs.ml
+
3
−
3
View file @
a82ea2be
...
...
@@ -2,7 +2,7 @@
(* *)
(* This file is part of Frama-Clang *)
(* *)
(* Copyright (C) 2012-202
1
*)
(* Copyright (C) 2012-202
2
*)
(* CEA (Commissariat à l'énergie atomique et aux énergies *)
(* alternatives) *)
(* *)
...
...
@@ -41,7 +41,7 @@ type dep_node =
name
:
string
;
is_def
:
bool
;
mutable
glob
:
definition
option
;
mutable
ghost
:
bool
;
(* TODO: take ghost into account. *)
(*
mutable ghost: bool; (* TODO: take ghost into account. *)
*)
mutable
id
:
int
}
...
...
@@ -179,7 +179,7 @@ end = struct
let
nodes
=
H
.
create
37
let
default_node
kind
name
is_def
=
{
kind
;
name
;
is_def
;
glob
=
None
;
id
=
-
1
;
ghost
=
false
}
{
kind
;
name
;
is_def
;
glob
=
None
;
id
=
-
1
;
(*
ghost = false
*)
}
let
replace_deps
orig
rep
=
if
G
.
mem_vertex
deps
orig
then
begin
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment