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
5f4f5602
Commit
5f4f5602
authored
2 years ago
by
Valentin Perrelle
Browse files
Options
Downloads
Patches
Plain Diff
[Ivette] Remove unused functions
parent
4a5b1a4a
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/api-generator/api_generator.ml
+0
-10
0 additions, 10 deletions
src/plugins/api-generator/api_generator.ml
with
0 additions
and
10 deletions
src/plugins/api-generator/api_generator.ml
+
0
−
10
View file @
5f4f5602
...
...
@@ -132,12 +132,6 @@ let jcall names fmt id =
try
Format
.
pp_print_string
fmt
(
Pkg
.
IdMap
.
find
id
names
)
with
Not_found
->
Self
.
abort
"Undefined identifier '%a'"
Pkg
.
pp_ident
id
let
jtry
~
safe
pp
fmt
d
=
if
safe
then
pp
fmt
d
else
Format
.
fprintf
fmt
"@[<hov 2>Json.jTry(@,%a)@]"
pp
d
let
jenum
names
fmt
id
=
Format
.
fprintf
fmt
"Json.jEnum(%a)"
(
jcall
names
)
id
let
junion
~
jtype
~
make
fmt
jts
=
...
...
@@ -200,10 +194,6 @@ let rec makeDecoder ?self ~names fmt js =
|
Jrecord
jfs
->
jrecord
~
make
fmt
jfs
|
Jtuple
jts
->
jtuple
~
make
fmt
jts
let
makeLooseNeedSafe
=
function
|
Pkg
.
Jtuple
_
|
Pkg
.
Jarray
_
->
true
|
_
->
false
(* -------------------------------------------------------------------------- *)
(* --- Parameter Decoder --- *)
...
...
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