diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2017-02-01 12:59:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-01 12:59:55 +0100 |
commit | 31f86965bf172fb32f9cca99a292ebdf6cea57b9 (patch) | |
tree | ef78d97a02e2dad0e39ccd345288adf3545bb05e /cparser/Cabs.v | |
parent | 71fa5147139f85cb0d14ded74b04b39dd52f776b (diff) | |
parent | ed55884ea9749f93ffd67f0734da0907fe338102 (diff) | |
download | compcert-31f86965bf172fb32f9cca99a292ebdf6cea57b9.tar.gz compcert-31f86965bf172fb32f9cca99a292ebdf6cea57b9.zip |
Merge pull request #159 from AbsInt/builtin_offsetof
Implement offsetof via builtin
Diffstat (limited to 'cparser/Cabs.v')
-rw-r--r-- | cparser/Cabs.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cabs.v b/cparser/Cabs.v index d087e8c7..b3e4ffda 100644 --- a/cparser/Cabs.v +++ b/cparser/Cabs.v @@ -142,6 +142,7 @@ with expression := (* Non-standard *) | EXPR_ALIGNOF : expression -> expression | TYPE_ALIGNOF : (list spec_elem * decl_type) -> expression + | BUILTIN_OFFSETOF : (list spec_elem * decl_type) -> list initwhat -> expression with constant := (* The string is the textual representation of the constant in |