diff options
Diffstat (limited to 'spec/rtems/basedefs/req/alignof-2.yml')
-rw-r--r-- | spec/rtems/basedefs/req/alignof-2.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/alignof-2.yml b/spec/rtems/basedefs/req/alignof-2.yml new file mode 100644 index 00000000..2b66aeba --- /dev/null +++ b/spec/rtems/basedefs/req/alignof-2.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 +copyrights: +- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: requirement-refinement + uid: ../if/alignof +non-functional-type: interface +rationale: null +references: [] +requirement-type: non-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, + when the argument ${../if/alignof:/params[0]/name} is an array type + with none constant size expression, + the macro ${../if/alignof:/name} shall not evaluate the size expression. +type: requirement |