summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/no-return.yml
blob: a9953ee7e889a709cd42aa27e762e63f1fcc108d (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
26
27
28
29
30
31
32
33
34
35
36
37
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a function declaration that this function does not
  return.
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
definition:
  default: ''
  variants:
  - definition: |
      [[noreturn]]
    enabled-by:
      and:
      - defined( ${/compiler/if/cplusplus:/name} )
      - ${/compiler/if/cplusplus:/name} >= 201103L
  - definition: |
      _Noreturn
    enabled-by:
      and:
      - defined( ${/compiler/if/stdc-version:/name} )
      - ${/compiler/if/stdc-version:/name} >= 201112L
  - definition: |
      __attribute__(( __noreturn__ ))
    enabled-by:
    - defined(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_NO_RETURN
notes: null
type: interface