[rtems-central commit] spec: Improve formatting
Sebastian Huber
sebh at rtems.org
Thu Sep 8 13:18:14 UTC 2022
Module: rtems-central
Branch: master
Commit: a9dde259460647a72db95a5b81c988839b2a077b
Changeset: http://git.rtems.org/rtems-central/commit/?id=a9dde259460647a72db95a5b81c988839b2a077b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Sep 7 13:48:45 2022 +0200
spec: Improve formatting
---
spec/rtems/basedefs/if/dequalify-depthx.yml | 14 ++++++++++----
1 file 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
More information about the vc
mailing list