Skip to content

Commit e32bc2e

Browse files
committed
Merge branch 'topic/W207-014' into 'master'
W207-014 Add support for --no-default-gnatcheck-rules See merge request eng/ide/gnatstudio!29
2 parents b0e172f + fca1562 commit e32bc2e

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

share/support/core/codepeer_xml.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,12 +676,15 @@ def cpms_combo_box(label, switch, tip):
676676
<check label="Force analysis" switch="-f" column="2"
677677
tip="Force analysis of all files, ignoring previous run.
678678
Also force the generation of all SCIL files." />
679-
<check label="Disable default GNATcheck" switch="--no-default-gnatcheck-rules" default="off"
680-
column="2" tip="Disable default gnatcheck syntactic analysis." />
681679
<check label="Disable Infer" switch="--no-infer" default="off"
682680
column="2" tip="Disable Infer analysis." />
683-
<check label="GNATcheck" switch="--gnatcheck"
684-
column="2" tip="Launch GNATcheck and collect its messages." />
681+
<check label="User-defined GNATcheck rules" switch="--gnatcheck"
682+
column="2" tip="Launch GNATcheck on the list of rules specified in the Check package of the project file, and the default rules (unless overriden by the next option)" />
683+
<check label="Skip default GNATcheck rules" switch="--no-default-gnatcheck-rules"
684+
column="2" tip="Do not launch GNATcheck with the rules enabled by default in CodePeer" />
685+
<check label="GNAT warnings" switch="--gnat-warnings"
686+
column="2"
687+
tip="Launch GNAT front-end and collect its warnings" />
685688
"""
686689

687690
xmlTrailer = """

share/support/core/codepeer_xml_old.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,10 @@
728728
<check label="Force analysis" switch="-f" column="2"
729729
tip="Force analysis of all files, ignoring previous run.
730730
Also force the generation of all SCIL files." />
731-
<check label="GNATcheck" switch="--gnatcheck"
732-
column="2" tip="Launch GNATcheck and collect its messages" />
731+
<check label="User-defined GNATcheck rules" switch="--gnatcheck"
732+
column="2" tip="Launch GNATcheck on the list of rules specified in the Check package of the project file, and the default rules (unless overriden by the next option)" />
733+
<check label="Skip default GNATcheck rules" switch="--no-default-gnatcheck-rules"
734+
column="2" tip="Do not launch GNATcheck with the rules enabled by default in CodePeer" />
733735
<check label="GNAT warnings" switch="--gnat-warnings"
734736
column="2"
735737
tip="Launch GNAT front-end and collect its warnings" />

0 commit comments

Comments
 (0)