diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-16 11:48:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-16 16:33:00 +0200 |
commit | 3bdf817950eadd75a2785b62220eb0b04533b9fd (patch) | |
tree | ed221c6de813e7a473e2882af6326bf2e5b44bd1 /spec/if/rtems/basedefs/dequalify-depthx.yml | |
parent | spec: Specify rtems_task_construct() (diff) | |
download | rtems-central-3bdf817950eadd75a2785b62220eb0b04533b9fd.tar.bz2 |
spec: Group items by component
Diffstat (limited to 'spec/if/rtems/basedefs/dequalify-depthx.yml')
-rw-r--r-- | spec/if/rtems/basedefs/dequalify-depthx.yml | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/spec/if/rtems/basedefs/dequalify-depthx.yml b/spec/if/rtems/basedefs/dequalify-depthx.yml deleted file mode 100644 index 1d7247df..00000000 --- a/spec/if/rtems/basedefs/dequalify-depthx.yml +++ /dev/null @@ -1,50 +0,0 @@ -SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -brief: | - Performs a type cast which removes qualifiers without warnings to the - specified type for the specified variable. -copyrights: -- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -- Copyright (C) 2014 Paval Pisa -definition: - default: ((_type)(${/if/c/uintptr_t:/name})(const volatile void *)(_var)) - variants: - - definition: | - (const_cast<_type>(_var)) - enabled-by: - - defined(${/if/compiler/cplusplus:/name}) - - definition: | - ${/if/compiler/builtin-choose-expr:/name}(${/if/compiler/builtin-types-compatible-p:/name}( - ${typeof-refx:/name}(_ptr_level, _var), - ${typeof-refx:/name}(_ptr_level, _type) - ) || ${/if/compiler/builtin-types-compatible-p:/name}(_type, void *), - (_type)(_var), - ${/if/impl/dequalify-types-not-compatible:/name}()) - enabled-by: - - defined(${/if/compiler/gnuc:/name}) -description: null -enabled-by: true -interface-type: macro -links: -- role: interface-placement - uid: header -- role: interface-ingroup - uid: group -name: RTEMS_DEQUALIFY_DEPTHX -notes: null -params: -- description: | - is the pointer indirection level expressed in *. - dir: null - name: _ptr_level -- description: | - is the target type of the cast. - dir: null - name: _type -- description: | - is the variable. - dir: null - name: _var -return: - return: null - return-values: [] -type: interface |