summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/pure.yml
blob: f5c946a437ce9b5fcdb3b8e5fafb788a0cb1a4d1 (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(${/compiler/if/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