summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/symbol-name-1.yml
blob: 45535a2318545ae98fbc5981d7bac4864190a234 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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* 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
  and the value of ``__USER_LABEL_PREFIX__`` before it evaluates to the
  concatenation of the value resulting from substituting
  the symbol ``__USER_LABEL_PREFIX__`` and the identifier name resulting
  from the argument value.
type: requirement