aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2023-10-12 11:31:40 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-11-07 10:15:03 +0100
commitf9e0e67b260f55fc05c7ffe01217561ac3f2aef4 (patch)
tree834ed9d0a004151a7f398593fe4c19ec7e830333 /gcc/ada/sem_ch3.adb
parent9daee42551e2d63c9e21935fb76b2ccc22f441d1 (diff)
downloadgcc-f9e0e67b260f55fc05c7ffe01217561ac3f2aef4.zip
gcc-f9e0e67b260f55fc05c7ffe01217561ac3f2aef4.tar.gz
gcc-f9e0e67b260f55fc05c7ffe01217561ac3f2aef4.tar.bz2
ada: Fix documentation of -gnatwc
-gnatwc has been correctly emitting warnings for expressions outside of tests for a while, but its documentation in the user's guide had never been updated to reflect that. Also, the documentation used "conditional expressions" to designate boolean expressions, but "conditional expressions" has been defined by Ada 2012 to designate if expressions and case expressions. This patch fixes those issues. gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix -gnatwc documentation. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions