diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-22 10:25:57 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-22 10:25:57 +0000 |
commit | e28b1a69bf0e8c09becaecda2ae29a85bec27d6f (patch) | |
tree | eadd181009b4822e6ce92897aef59201db5cab36 /gcc/ada/usage.adb | |
parent | fbc89b916a7a004f25857943a4795a618a460ea4 (diff) | |
download | gcc-e28b1a69bf0e8c09becaecda2ae29a85bec27d6f.tar.gz |
2009-07-22 Robert Dewar <dewar@adacore.com>
* sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB
* style.ads, styleg.adb, styleg.ads (Check_Boolean_Operator): New
procedure.
* usage.adb, stylesw.ads, stylesw.adb: Add handling of -gnatyB switch
* gnat_ugn.texi: Add documentation of -gnatyB
* vms_data.ads: Add entry for -gnatyB (STYLE=BOOLEAN_OPERATORS)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149923 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r-- | gcc/ada/usage.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index 6b87db9a91f..0d6e9ccac91 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -524,6 +524,7 @@ begin Write_Line (" a check attribute casing"); Write_Line (" A check array attribute indexes"); Write_Line (" b check no blanks at end of lines"); + Write_Line (" B check no use of AND/OR for boolean expressions"); Write_Line (" c check comment format"); Write_Line (" d check no DOS line terminators"); Write_Line (" e check end/exit labels present"); |