diff options
Diffstat (limited to 'spec/rtems/basedefs/req/symbol-name-0.yml')
-rw-r--r-- | spec/rtems/basedefs/req/symbol-name-0.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/symbol-name-0.yml b/spec/rtems/basedefs/req/symbol-name-0.yml new file mode 100644 index 00000000..a27f63fc --- /dev/null +++ b/spec/rtems/basedefs/req/symbol-name-0.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: requirement-refinement + uid: ../if/symbol-name +non-functional-type: interface +rationale: null +references: [] +requirement-type: non-functional +text: | + When argument ${../if/symbol-name:/params[0]/name} after undergoing + C pre-processor substitutions results in a valid C identifier name, + while the symbol ``__USER_LABEL_PREFIX__`` is *not* defined + during pre-processing of the ``basedefs.h`` file, + the ${../if/symbol-name:/name} macro shall + apply all possible C pre-processor substitutions to its argument value + before it evaluates to the identifier name resulting + from the argument value. +type: requirement |