Skip to content

Commit

Permalink
Fix where roles are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-at-adacore committed Oct 17, 2023
1 parent 1e3d09a commit 604a50c
Show file tree
Hide file tree
Showing 22 changed files with 47 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Introduction
**************

.. include:: ../../global.txt
.. include:: ../global.txt

Ada is a general purpose, high-level programming language designed to support
the construction of long-lived, highly-reliable applications. Like all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Use the Ravenscar Profile (CON01)
-----------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Use the Jorvik Profile (CON02)
--------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Avoid Shared Variables for Inter-task Communication (CON03)
-------------------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Dynamic Storage Management (DYN)
==================================

.. include:: ../../../global.txt
.. include:: ../../global.txt

*Goal*
:Maintainability: :math:`\checkmark`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Exception Usage (EXU)
=======================

.. include:: ../../../global.txt
.. include:: ../../global.txt

*Goal*
:Maintainability: :math:`\checkmark`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Don't Raise Language-Defined Exceptions (EXU01)
-------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Unhandled Application-Defined Exceptions (EXU02)
-----------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Exception Propagation Beyond Name Visibility (EXU03)
---------------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Limit Inheritance Hierarchy Depth (OOP03)
-------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Limit Statically-Dispatched Calls To Primitive Operations (OOP04)
-------------------------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Use Explicit Overriding Annotations (OOP05)
---------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Use of "others" in Case Constructs (RPP01)
-----------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Enumeration Ranges in Case Constructs (RPP02)
--------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Limited Use of "others" In Aggregates (RPP03)
-----------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Unassigned Mode-Out Procedure Parameters (RPP04)
-----------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Use of "others" in Exception Handlers (RPP05)
--------------------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Functions Only Have Mode "in" (RPP07)
---------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Required

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
No Recursion (RPP12)
----------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Hide Implementation Artifacts (SWE04)
----------------------------------------

.. include:: ../../../../global.txt
.. include:: ../../../global.txt

**Level** :math:`\rightarrow` Advisory

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.. role:: ada(code)
:language: ada
:class: highlight

.. role:: c(code)
:language: c
:class: highlight

.. role:: cpp(code)
:language: c++
:class: highlight

.. role:: java(code)
:language: java
:class: highlight

.. role:: assembly(code)

.. role:: rule(code)

.. role:: switch(code)
:language: console

.. include:: <isopub.txt>

.. include:: <isoamsa.txt>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Guidelines for Safe and Secure Ada/SPARK
==========================================

.. include:: ../global.txt
.. include:: global.txt

.. only:: builder_epub

Expand Down

0 comments on commit 604a50c

Please sign in to comment.