aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-02-13 22:49:39 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-23 09:50:59 +0200
commite32c1944bbad9e3dad86a3f1a010fab671953130 (patch)
tree72d5f106f5727ab4cad1c292169bffff9d4ac416 /gcc/ada/sem_ch3.adb
parenteceeb07b21483a1f150cba8d65ef9a762442d2d9 (diff)
downloadgcc-e32c1944bbad9e3dad86a3f1a010fab671953130.zip
gcc-e32c1944bbad9e3dad86a3f1a010fab671953130.tar.gz
gcc-e32c1944bbad9e3dad86a3f1a010fab671953130.tar.bz2
ada: Ignore accessibility actuals in expression pretty-printer
Extra actual parameters for accessibility checks are confusing for the expression pretty-printer that is used by CodePeer. It seems that nodes created for the accessibility checks should use the Sloc of the source expression of accessibility checks, not the target. However, this is problematic to achieve with the current implementation of accessibility checks, so with this patch we will simply ignore the accessibility actuals when computing Slocs for expression pretty-printing. gcc/ada/ * errout.adb (First_And_Last_Nodes): Ignore accessibility parameters.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions