Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
frama-c
Commits
c843b660
Commit
c843b660
authored
Jun 05, 2019
by
Virgile Prevosto
Browse files
[kernel] Derive equality from compare in Logic_info_structural
parent
95341df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kernel_services/ast_queries/cil_datatype.ml
View file @
c843b660
...
@@ -1390,7 +1390,7 @@ module Logic_info_structural = struct
...
@@ -1390,7 +1390,7 @@ module Logic_info_structural = struct
compare_list
prm_cmp
i1
.
l_profile
i2
.
l_profile
compare_list
prm_cmp
i1
.
l_profile
i2
.
l_profile
end
end
let
equal
i1
i2
=
Logic_var
.
equal
i1
.
l_var_info
i2
.
l_var_info
let
equal
=
Datatype
.
from_compare
let
hash
i
=
Logic_var
.
hash
i
.
l_var_info
let
hash
i
=
Logic_var
.
hash
i
.
l_var_info
let
copy
=
Datatype
.
undefined
let
copy
=
Datatype
.
undefined
let
internal_pretty_code
=
Datatype
.
undefined
let
internal_pretty_code
=
Datatype
.
undefined
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment