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
c0019775
Commit
c0019775
authored
2 years ago
by
Valentin Perrelle
Browse files
Options
Downloads
Patches
Plain Diff
[Cil Builder] Add .@[] operator
parent
5a9e141b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/kernel_services/ast_building/cil_builder.ml
+1
-0
1 addition, 0 deletions
src/kernel_services/ast_building/cil_builder.ml
src/kernel_services/ast_building/cil_builder.mli
+1
-1
1 addition, 1 deletion
src/kernel_services/ast_building/cil_builder.mli
with
2 additions
and
1 deletion
src/kernel_services/ast_building/cil_builder.ml
+
1
−
0
View file @
c0019775
...
@@ -396,6 +396,7 @@ struct
...
@@ -396,6 +396,7 @@ struct
let
(
<<
)
,
(
>>
)
=
shiftl
,
shiftr
let
(
<<
)
,
(
>>
)
=
shiftl
,
shiftr
let
(
<
)
,
(
>
)
,
(
<=
)
,
(
>=
)
,
(
==
)
,
(
!=
)
=
lt
,
gt
,
le
,
ge
,
eq
,
ne
let
(
<
)
,
(
>
)
,
(
<=
)
,
(
>=
)
,
(
==
)
,
(
!=
)
=
lt
,
gt
,
le
,
ge
,
eq
,
ne
let
(
--
)
=
range
let
(
--
)
=
range
let
(
.@
[]
)
=
index
(* Convert *)
(* Convert *)
...
...
This diff is collapsed.
Click to expand it.
src/kernel_services/ast_building/cil_builder.mli
+
1
−
1
View file @
c0019775
...
@@ -177,7 +177,6 @@ sig
...
@@ -177,7 +177,6 @@ sig
val
compound
:
Cil_types
.
typ
->
init
list
->
[
>
init
]
val
compound
:
Cil_types
.
typ
->
init
list
->
[
>
init
]
val
values
:
(
init
,
'
values
)
typ
->
'
values
->
init
val
values
:
(
init
,
'
values
)
typ
->
'
values
->
init
(* Redefined operators *)
(* Redefined operators *)
val
(
+
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
+
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
...
@@ -194,6 +193,7 @@ sig
...
@@ -194,6 +193,7 @@ sig
val
(
==
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
==
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
!=
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
!=
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
--
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
--
)
:
[
<
exp
]
->
[
<
exp
]
->
[
>
exp
]
val
(
.@
[]
)
:
[
<
lval
]
->
[
<
exp
]
->
[
>
exp
]
(* C index operator [] *)
(* Export CIL objects from built expressions *)
(* Export CIL objects from built expressions *)
...
...
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