Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
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-c
Commits
cc7c379e
Commit
cc7c379e
authored
4 months ago
by
Loïc Correnson
Committed by
David Bühler
2 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[eva] singleton visitors
parent
7205a418
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/eva/utils/export.ml
+3
-7
3 additions, 7 deletions
src/plugins/eva/utils/export.ml
with
3 additions
and
7 deletions
src/plugins/eva/utils/export.ml
+
3
−
7
View file @
cc7c379e
...
...
@@ -268,7 +268,7 @@ let generated = Emitter.create "Eva_domain"
~
correctness
:
[]
~
tuning
:
[]
class
generator
=
let
generator
()
:
visitor
=
object
(
self
)
inherit
Visitor
.
frama_c_inplace
val
mutable
dead
=
Stmts
.
empty
(* annotated as dead *)
...
...
@@ -300,13 +300,11 @@ class generator =
end
let
generator
()
=
(
new
generator
:>
visitor
)
(* -------------------------------------------------------------------------- *)
(* --- Annotation Removal --- *)
(* -------------------------------------------------------------------------- *)
class
cleaner
=
let
cleaner
()
:
visitor
=
object
(
self
)
inherit
Visitor
.
frama_c_inplace
...
...
@@ -326,8 +324,6 @@ class cleaner =
end
let
cleaner
()
=
(
new
cleaner
:>
visitor
)
(* -------------------------------------------------------------------------- *)
(* --- Command Line Option --- *)
(* -------------------------------------------------------------------------- *)
...
...
@@ -340,7 +336,7 @@ let main () =
let
cleaner
=
cleaner
()
in
Self
.
feedback
~
ontty
:
`Transient
"Cleaning annotations..."
;
Visitor
.
visitFramacFile
cleaner
ast
;
new
generator
generator
()
end
in
Parameters
.
Annot
.
iter
begin
fun
kf
->
...
...
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