[rtems-central commit] spec: Update rtems/basedefs/if/no-return

Sebastian Huber sebh at rtems.org
Mon Oct 12 13:42:57 UTC 2020


Module:    rtems-central
Branch:    master
Commit:    e4ba61335a95b7c28b001debb9849a56dee4ecba
Changeset: http://git.rtems.org/rtems-central/commit/?id=e4ba61335a95b7c28b001debb9849a56dee4ecba

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sun Oct 11 16:17:42 2020 +0200

spec: Update rtems/basedefs/if/no-return

---

 spec/rtems/basedefs/if/no-return.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/spec/rtems/basedefs/if/no-return.yml b/spec/rtems/basedefs/if/no-return.yml
index c1fc746..9dbed4c 100644
--- a/spec/rtems/basedefs/if/no-return.yml
+++ b/spec/rtems/basedefs/if/no-return.yml
@@ -8,6 +8,14 @@ definition:
   default: ''
   variants:
   - definition: |
+      [[noreturn]]
+    enabled-by:
+    - ${/compiler/if/cplusplus:/name} >= 201103L
+  - definition: |
+      _Noreturn
+    enabled-by:
+    - ${/compiler/if/stdc-version:/name} >= 201112L
+  - definition: |
       __attribute__((__noreturn__))
     enabled-by:
     - defined(${/compiler/if/gnuc:/name})



More information about the vc mailing list