diff options
Diffstat (limited to 'spec/if/rtems/basedefs/static-assert.yml')
-rw-r--r-- | spec/if/rtems/basedefs/static-assert.yml | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/spec/if/rtems/basedefs/static-assert.yml b/spec/if/rtems/basedefs/static-assert.yml deleted file mode 100644 index a56d9713..00000000 --- a/spec/if/rtems/basedefs/static-assert.yml +++ /dev/null @@ -1,41 +0,0 @@ -SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -brief: | - Asserts at compile time that the specified condition is satisfied. -copyrights: -- Copyright (C) 2011, 2020 embedded brains GmbH (http://www.embedded-brains.de) -definition: - default: | - struct rtems_static_assert_ ## _msg - { int rtems_static_assert_ ## _msg : (_cond) ? 1 : -1; } - variants: - - definition: | - static_assert(_cond, # _msg) - enabled-by: - - ${/if/compiler/cplusplus:/name} >= 201103L - - definition: | - _Static_assert(_cond, # _msg) - enabled-by: - - ${/if/compiler/stdc-version:/name} >= 201112L -description: null -enabled-by: true -interface-type: macro -links: -- role: interface-placement - uid: header -- role: interface-ingroup - uid: group -name: RTEMS_STATIC_ASSERT -notes: null -params: -- description: | - is the condition this static assertion shall satisfy. - dir: null - name: _cond -- description: | - is the error message in case the static assertion fails. - dir: null - name: _msg -return: - return: null - return-values: [] -type: interface |