aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cabs.v
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2018-06-07 15:26:02 +0200
committerGitHub <noreply@github.com>2018-06-07 15:26:02 +0200
commit285933f8ca633495e7e4d03481a58ead3323c504 (patch)
tree81983eabd13d100a498fc937eb30eb3adce13ba8 /cparser/Cabs.v
parent18b05651231b4b79e3169e168d53b2c5da27983b (diff)
downloadcompcert-kvx-285933f8ca633495e7e4d03481a58ead3323c504.tar.gz
compcert-kvx-285933f8ca633495e7e4d03481a58ead3323c504.zip
Remove the `_Alignas(expr)` construct (#125)
The `_Alignas(expr)` construct is not C11, only `_Alignas(type)` is.
Diffstat (limited to 'cparser/Cabs.v')
-rw-r--r--cparser/Cabs.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/cparser/Cabs.v b/cparser/Cabs.v
index b3e4ffda..5865ab69 100644
--- a/cparser/Cabs.v
+++ b/cparser/Cabs.v
@@ -140,8 +140,7 @@ with expression :=
| MEMBEROFPTR : expression -> string -> expression
(* Non-standard *)
- | EXPR_ALIGNOF : expression -> expression
- | TYPE_ALIGNOF : (list spec_elem * decl_type) -> expression
+ | ALIGNOF : (list spec_elem * decl_type) -> expression
| BUILTIN_OFFSETOF : (list spec_elem * decl_type) -> list initwhat -> expression
with constant :=