diff options
author | Bob Duff <duff@adacore.com> | 2019-07-03 08:14:38 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-03 08:14:38 +0000 |
commit | c4487c3be84e0b892aeb61f30435638c6d94a8ab (patch) | |
tree | d92325f60a440a1745affa95115da988cb79db44 /gcc/ada/layout.adb | |
parent | bf4f18bded58c7710276877ea8648b12ac3088be (diff) | |
download | gcc-c4487c3be84e0b892aeb61f30435638c6d94a8ab.zip gcc-c4487c3be84e0b892aeb61f30435638c6d94a8ab.tar.gz gcc-c4487c3be84e0b892aeb61f30435638c6d94a8ab.tar.bz2 |
[Ada] Style check for mixed-case identifiers
This patch implements a new switch, -gnatyD, enables a style check that
requires defining identifiers to be in mixed case.
2019-07-03 Bob Duff <duff@adacore.com>
gcc/ada/
* par-ch3.adb (P_Defining_Identifier): Call
Check_Defining_Identifier_Casing.
* style.ads, styleg.ads, styleg.adb
(Check_Defining_Identifier_Casing): New procedure to check for
mixed-case defining identifiers.
* stylesw.ads, stylesw.adb (Style_Check_Mixed_Case_Decls): New
flag for checking for mixed-case defining identifiers.
* doc/gnat_ugn/building_executable_programs_with_gnat.rst:
Document new feature.
* gnat_ugn.texi: Regenerate.
From-SVN: r272972
Diffstat (limited to 'gcc/ada/layout.adb')
0 files changed, 0 insertions, 0 deletions