summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/unreachable.yml
blob: b0c51623271dad148844685270d52d5772859c79 (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
38
39
40
41
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler that this program point is unreachable.
copyrights:
- Copyright (C) 2016, 2023 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: |
      do { } while ( 0 )
    params: []
    return: null
  variants:
  - definition:
      attributes: null
      body: |
        ${/score/basedefs/if/debug-unreachable:/name}( ${/compiler/if/file:/name}, ${/compiler/if/line:/name}, ${function-name:/name} )
      params: []
      return: null
    enabled-by: defined(${/build-options/if/debug:/name})
  - definition:
      attributes: null
      body: |
        ${/compiler/if/builtin-unreachable:/name}()
      params: []
      return: null
    enabled-by: defined(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_UNREACHABLE
notes: null
params: []
return: null
type: interface