summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/typeof-refx.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/typeof-refx.yml')
-rw-r--r--spec/rtems/basedefs/if/typeof-refx.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/spec/rtems/basedefs/if/typeof-refx.yml b/spec/rtems/basedefs/if/typeof-refx.yml
index 1836fd90..5c75a1bd 100644
--- a/spec/rtems/basedefs/if/typeof-refx.yml
+++ b/spec/rtems/basedefs/if/typeof-refx.yml
@@ -5,10 +5,18 @@ copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 2014 Paval Pisa
definition:
- default: ''
+ default:
+ attributes: null
+ body: ''
+ params: []
+ return: null
variants:
- - definition: |
- ${/compiler/if/typeof:/name}( ${.:/params[0]/name}( union { int _z; ${/compiler/if/typeof:/name}( ${.:/params[1]/name} ) _x; } ){ 0 }._x )
+ - definition:
+ attributes: null
+ body: |
+ ${/compiler/if/typeof:/name}( ${.:/params[0]/name}( union { int _z; ${/compiler/if/typeof:/name}( ${.:/params[1]/name} ) _x; } ){ 0 }._x )
+ params: []
+ return: null
enabled-by:
- defined(${/compiler/if/gnuc:/name})
description: |