summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/pure.yml
blob: 7585ebb8cd5a03810f27458a4aed30db24743a19 (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
24
25
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a function declaration that this function has no effect
  except the return value and that the return value depends only on the value
  of parameters and/or global variables.
copyrights:
- Copyright (C) 2011 On-Line Applications Research Corporation (OAR)
definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__pure__))
    enabled-by:
    - defined(${/if/compiler/gnuc:/name})
description: null
enabled-by: true
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_PURE
notes: null
type: interface