summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/alignof-1.yml
blob: 4ee2d7923ef3a02a5c3317dc6425cf42467c1130 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/alignof
rationale: null
references: []
requirement-type: functional
text: |
  When the code is compiled with a C compiler and
  the ``__STDC_VERSION__`` symbol is defined with version ``201112L`` or
  higher or
  the code is compiled with a C++ compiler
  and the ``__cplusplus`` symbol is defined with version ``201103L`` or higher,
  the macro ${../if/alignof:/name} shall not evaluate its
  argument ${../if/alignof:/params[0]/name}.
type: requirement