aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2023-02-06 08:50:42 +0000
committerMarc Poulhiès <poulhies@adacore.com>2023-05-22 10:44:09 +0200
commit86bcf5d5d369cd78ebd99989978432f8cdb73bb4 (patch)
treefb68ec904ee4b674460a6ece7de3c154ac03f243 /gcc/ada/debug.adb
parent8f563162db870d42d7306551a9dda51201ad9862 (diff)
downloadgcc-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