summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-07 13:48:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-08 08:34:29 +0200
commita9dde259460647a72db95a5b81c988839b2a077b (patch)
treea3d9c108a70e5e45f15f110a6a11a076f84dc8b3
parentspec: Add attributes to build items (diff)
downloadrtems-central-a9dde259460647a72db95a5b81c988839b2a077b.tar.bz2
spec: Improve formatting
-rw-r--r--spec/rtems/basedefs/if/dequalify-depthx.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/spec/rtems/basedefs/if/dequalify-depthx.yml b/spec/rtems/basedefs/if/dequalify-depthx.yml
index f785dd49..15539991 100644
--- a/spec/rtems/basedefs/if/dequalify-depthx.yml
+++ b/spec/rtems/basedefs/if/dequalify-depthx.yml
@@ -14,12 +14,18 @@ definition:
enabled-by:
- defined(${/compiler/if/cplusplus:/name})
- definition: |
- ${/compiler/if/builtin-choose-expr:/name}( ${/compiler/if/builtin-types-compatible-p:/name}(
+ ${/compiler/if/builtin-choose-expr:/name}(
+ ${/compiler/if/builtin-types-compatible-p:/name}(
${typeof-refx:/name}( ${.:/params[0]/name}, ${.:/params[2]/name} ),
${typeof-refx:/name}( ${.:/params[0]/name}, ${.:/params[1]/name} )
- ) || ${/compiler/if/builtin-types-compatible-p:/name}( ${.:/params[1]/name}, void * ),
- (${.:/params[1]/name}) ( ${.:/params[2]/name} ),
- ${/score/basedefs/if/dequalify-types-not-compatible:/name}() )
+ ) ||
+ ${/compiler/if/builtin-types-compatible-p:/name}(
+ ${.:/params[1]/name},
+ void *
+ ),
+ (${.:/params[1]/name}) ( ${.:/params[2]/name} ),
+ ${/score/basedefs/if/dequalify-types-not-compatible:/name}()
+ )
enabled-by:
- defined(${/compiler/if/gnuc:/name})
description: null