aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-10-17 11:02:28 +0200
committerEric Botcazou <ebotcazou@adacore.com>2025-10-17 11:05:08 +0200
commitcdb08b4bd24912f22c2f41798b3bd1b7395c87c6 (patch)
tree63f1a93724dcb0736cff2d6201c3aa79c8682e81 /gcc/testsuite/g++.dg/cpp1z
parentc591c2aff5b84970833f84e2faf3f55f32a2c61f (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
Fix missing style violation report for package instantiationHEADtrunkmaster
Unlike for subprogram instantiation, -gnatyr does not report style violation for package instantiation, more precisely for the generic package's name. Fixing it uncovered style violations in the sources of the compiler itself! gcc/ada/ PR ada/122295 * sem_ch12.adb (Analyze_Package_Instantiation): Force Style_Check to False only after possibly installing the parent. * aspects.adb (UAD_Pragma_Map): Fix style violation. * inline.adb (To_Pending_Instantiations): Likewise. * lib.ads (Unit_Names): Likewise. * repinfo.adb (Relevant_Entities): Likewise. * sem_ch7.adb (Subprogram_Table): Likewise. (Traversed_Table): Likewise. * sem_util.adb (Interval_Sorting): Likewise. gcc/testsuite/ * gnat.dg/specs/style1.ads: New test.
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp1z')
0 files changed, 0 insertions, 0 deletions