summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/alignof.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/alignof.yml')
-rw-r--r--spec/rtems/basedefs/if/alignof.yml24
1 files changed, 18 insertions, 6 deletions
diff --git a/spec/rtems/basedefs/if/alignof.yml b/spec/rtems/basedefs/if/alignof.yml
index 735a5740..8abd6252 100644
--- a/spec/rtems/basedefs/if/alignof.yml
+++ b/spec/rtems/basedefs/if/alignof.yml
@@ -4,15 +4,27 @@ brief: |
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
definition:
- default: |
- sizeof( ${.:/params[0]/name} )
+ default:
+ attributes: null
+ body: |
+ sizeof( ${.:/params[0]/name} )
+ params: []
+ return: null
variants:
- - definition: |
- alignof( ${.:/params[0]/name} )
+ - definition:
+ attributes: null
+ body: |
+ alignof( ${.:/params[0]/name} )
+ params: []
+ return: null
enabled-by:
- ${/compiler/if/cplusplus:/name} >= 201103L
- - definition: |
- _Alignof( ${.:/params[0]/name} )
+ - definition:
+ attributes: null
+ body: |
+ _Alignof( ${.:/params[0]/name} )
+ params: []
+ return: null
enabled-by:
- ${/compiler/if/stdc-version:/name} >= 201112L
description: null