Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clangml-transforms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
Thierry Martinez
clangml-transforms
Commits
cff2ab29
Commit
cff2ab29
authored
4 years ago
by
Thierry Martinez
Browse files
Options
Downloads
Patches
Plain Diff
Update for Clangml 4.2.0
parent
f7ca09c9
No related branches found
No related tags found
No related merge requests found
Pipeline
#158080
failed
4 years ago
Stage: snapshot
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
clangml-transforms.opam.template
+0
-1
0 additions, 1 deletion
clangml-transforms.opam.template
clangml-transforms/for_memcad.ml
+4
-4
4 additions, 4 deletions
clangml-transforms/for_memcad.ml
dune-project
+3
-2
3 additions, 2 deletions
dune-project
with
7 additions
and
7 deletions
clangml-transforms.opam.template
deleted
100644 → 0
+
0
−
1
View file @
f7ca09c9
version: "0.25"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
clangml-transforms/for_memcad.ml
+
4
−
4
View file @
cff2ab29
...
@@ -81,15 +81,15 @@ let rec name_anonymous_fields (decl : Clang.Ast.decl list) =
...
@@ -81,15 +81,15 @@ let rec name_anonymous_fields (decl : Clang.Ast.decl list) =
|
[]
->
[]
|
[]
->
[]
|
{
desc
=
RecordDecl
({
keyword
;
name
=
""
;
_
}
as
record_decl
);
_
}
|
{
desc
=
RecordDecl
({
keyword
;
name
=
""
;
_
}
as
record_decl
);
_
}
as
record
::
as
record
::
({
desc
=
Field
{
name
;
qual_type
=
{
desc
=
({
desc
=
Field
(
{
qual_type
=
{
desc
=
Elaborated
({
keyword
=
keyword'
;
Elaborated
({
keyword
=
keyword'
;
named_type
=
{
desc
=
Record
{
name
=
IdentifierName
""
;
_
};
_
}
named_type
=
{
desc
=
Record
{
name
=
IdentifierName
""
;
_
};
_
}
as
named_type
;
_
}
as
elaborated
);
_
}
as
named_type
;
_
}
as
elaborated
);
_
}
as
qual_type
;
bitwidth
;
init
}
;
_
}
as
field
)
as
qual_type
;
_
}
as
field_desc
)
;
_
}
as
field
)
::
tail
when
keyword
=
keyword'
->
::
tail
when
keyword
=
keyword'
->
{
record
with
{
record
with
desc
=
Clang
.
Ast
.
RecordDecl
{
record_decl
with
name
=
"anon"
}}
::
desc
=
Clang
.
Ast
.
RecordDecl
{
record_decl
with
name
=
"anon"
}}
::
{
field
with
desc
=
Field
{
name
;
bit
wi
d
th
;
init
;
{
field
with
desc
=
Field
{
field_desc
with
qual_type
=
{
qual_type
with
desc
=
Elaborated
{
elaborated
with
qual_type
=
{
qual_type
with
desc
=
Elaborated
{
elaborated
with
named_type
=
{
named_type
with
desc
=
named_type
=
{
named_type
with
desc
=
Record
(
Clang
.
Ast
.
identifier_name
"anon"
)
}}}}}
::
Record
(
Clang
.
Ast
.
identifier_name
"anon"
)
}}}}}
::
...
@@ -526,7 +526,7 @@ with type 'a Applicative.t = 'a Applicative.t = struct
...
@@ -526,7 +526,7 @@ with type 'a Applicative.t = 'a Applicative.t = struct
let
visit_unary_expr_size_of
env
expr_or_trait
let
visit_unary_expr_size_of
env
expr_or_trait
:
Clang
.
Ast
.
expr_desc
*
accu
=
:
Clang
.
Ast
.
expr_desc
*
accu
=
let
expr_or_trait
,
delayed_stmts
=
let
expr_or_trait
,
delayed_stmts
=
Visit
.
visit
[
%
refl
:
Clang
.
Ast
.
unary_
expr_or_type
_trait
]
[]
Visit
.
visit
[
%
refl
:
Clang
.
Ast
.
expr_or_type
]
[]
env
expr_or_trait
in
env
expr_or_trait
in
let
ty
=
let
ty
=
match
expr_or_trait
with
match
expr_or_trait
with
...
...
This diff is collapsed.
Click to expand it.
dune-project
+
3
−
2
View file @
cff2ab29
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
(homepage "https://gitlab.inria.fr/memcad/clangml-transforms")
(homepage "https://gitlab.inria.fr/memcad/clangml-transforms")
(bug_reports "https://gitlab.inria.fr/memcad/clangml-transforms/issues")
(bug_reports "https://gitlab.inria.fr/memcad/clangml-transforms/issues")
(documentation "https://gitlab.inria.fr/memcad/clangml-transforms")
(documentation "https://gitlab.inria.fr/memcad/clangml-transforms")
(version "0.26")
(package
(package
(name clangml-transforms)
(name clangml-transforms)
...
@@ -17,8 +18,8 @@
...
@@ -17,8 +18,8 @@
(depends
(depends
(ocaml (and (>= 4.03.0) (< 4.12.0)))
(ocaml (and (>= 4.03.0) (< 4.12.0)))
(dune (>= 1.11.0))
(dune (>= 1.11.0))
(clangml (>= 4.
1
.0))
(clangml (>= 4.
2
.0))
(dolog (>= 4.0.0))
(dolog (>= 4.0.0))
(traverse (>= 0.2.0))
(traverse (>= 0.2.0))
(refl (>= 0.
1.0
))
(refl (>= 0.
2.1
))
(odoc (and :with-doc (>= 1.5.1)))))
(odoc (and :with-doc (>= 1.5.1)))))
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