Commit 518e49e6 authored by Julien Signoles's avatar Julien Signoles
Browse files

[e-acsl:lint] lintify dup_functions.ml before rewriting it

parent 221abc36
...@@ -381,4 +381,4 @@ ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/at_with_lscope.ml ...@@ -381,4 +381,4 @@ ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/at_with_lscope.ml
ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/at_with_lscope.mli ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/at_with_lscope.mli
ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/temporal.ml ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/temporal.ml
ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/temporal.mli ML_LINT_KO+=src/plugins/e-acsl/src/code_generator/temporal.mli
ML_LINT_KO+=src/plugins/e-acsl/src/project_initializer/dup_functions.ml
...@@ -337,8 +337,8 @@ class dup_functions_visitor prj = object (self) ...@@ -337,8 +337,8 @@ class dup_functions_visitor prj = object (self)
&& vi.vname <> "malloc" && vi.vname <> "free" && vi.vname <> "malloc" && vi.vname <> "free"
then then
Options.warning "@[annotating undefined function `%a':@ \ Options.warning "@[annotating undefined function `%a':@ \
the generated program may miss memory instrumentation@ \ the generated program may miss memory instrumentation@ \
if there are memory-related annotations.@]" if there are memory-related annotations.@]"
Printer.pp_varinfo vi Printer.pp_varinfo vi
| GFun _ -> () | GFun _ -> ()
| _ -> assert false); | _ -> assert false);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment