diff options
author | Arnaud Charlet <charlet@adacore.com> | 2023-02-06 08:50:42 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-22 10:44:09 +0200 |
commit | 86bcf5d5d369cd78ebd99989978432f8cdb73bb4 (patch) | |
tree | fb68ec904ee4b674460a6ece7de3c154ac03f243 /gcc/ada/debug.adb | |
parent | 8f563162db870d42d7306551a9dda51201ad9862 (diff) | |
download | gcc-86bcf5d5d369cd78ebd99989978432f8cdb73bb4.zip gcc-86bcf5d5d369cd78ebd99989978432f8cdb73bb4.tar.gz gcc-86bcf5d5d369cd78ebd99989978432f8cdb73bb4.tar.bz2 |
ada: Improve -gnatyx style check
Check redundant parentheses in many more places, for now only under
-gnatdQ, while pending violations are fixed.
gcc/ada/
* par-ch3.adb, sem_ch4.adb (P_Discrete_Range, Analyze_Logical_Op,
Analyze_Short_Circuit): Add calls to Check_Xtra_Parentheses.
* par-ch5.adb (P_Condition): Move logic to Check_Xtra_Parentheses.
* style.ads, styleg.adb, styleg.ads (Check_Xtra_Parens): Move logic
related to expressions requiring parentheses here.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions