aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cprint.ml
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-10-05 08:11:34 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-10-05 08:11:34 +0000
commita6c369cbd63996c1571ae601b7d92070f024b22c (patch)
treedc4f3f5a52ae4ea230f307ce5f442137f014b79b /cparser/Cprint.ml
parentb55147379939553eccd4289fd18e7f161619be4d (diff)
downloadcompcert-kvx-a6c369cbd63996c1571ae601b7d92070f024b22c.tar.gz
compcert-kvx-a6c369cbd63996c1571ae601b7d92070f024b22c.zip
Merge of the "alignas" branch.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2342 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser/Cprint.ml')
-rw-r--r--cparser/Cprint.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cprint.ml b/cparser/Cprint.ml
index e97f0411..c6864ff3 100644
--- a/cparser/Cprint.ml
+++ b/cparser/Cprint.ml
@@ -91,6 +91,7 @@ let attribute pp = function
| AConst -> fprintf pp "const"
| AVolatile -> fprintf pp "volatile"
| ARestrict -> fprintf pp "restrict"
+ | AAlignas n -> fprintf pp "_Alignas(%d)" n
| Attr(name, []) -> fprintf pp "__attribute__((%s))" name
| Attr(name, arg1 :: args) ->
fprintf pp "__attribute__((%s(" name;