aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-12-24 00:54:40 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-03 05:28:24 -0400
commit28dfe0cb0355695193af0a22ef6e499d589d8143 (patch)
tree2cb60c8a8fb769bdfb87e28c8d0486a26483180f /gcc/ada/gcc-interface/utils.c
parentadd27f7aceefe79fea82a0fbd05f521c2e6f43d4 (diff)
downloadgcc-28dfe0cb0355695193af0a22ef6e499d589d8143.zip
gcc-28dfe0cb0355695193af0a22ef6e499d589d8143.tar.gz
gcc-28dfe0cb0355695193af0a22ef6e499d589d8143.tar.bz2
[Ada] Allow attributes Version and Body_Version prefixed by entries
gcc/ada/ * sem_attr.adb (Check_Program_Unit): Replace tests for Task_Kind and Protected_Kind with a collective test for Concurrent_Kind; likewise, replace calls to Is_Task_Type and Is_Protected_Type with a collective call to Is_Concurrent_Type; simplify into a single membership test; add missing Entry_Kind alternative.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions