aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sinput.adb
diff options
context:
space:
mode:
authorHristian Kirtchev <kirtchev@adacore.com>2007-12-13 11:30:41 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2007-12-13 11:30:41 +0100
commitd469eabed98420f0bdd2895d47e11829e3bb76d9 (patch)
tree56de5248419355494b4be55b05ae58560c9ac855 /gcc/ada/sinput.adb
parent01b18343996b7145c23191fb574b3fae3e845d8d (diff)
downloadgcc-d469eabed98420f0bdd2895d47e11829e3bb76d9.zip
gcc-d469eabed98420f0bdd2895d47e11829e3bb76d9.tar.gz
gcc-d469eabed98420f0bdd2895d47e11829e3bb76d9.tar.bz2
sem_ch4.adb (Analyze_Selected_Component): Include the requeue statement to the list of contexts where a selected...
2007-12-06 Hristian Kirtchev <kirtchev@adacore.com> Ed Schonberg <schonberg@adacore.com> * sem_ch4.adb (Analyze_Selected_Component): Include the requeue statement to the list of contexts where a selected component with a concurrent tagged type prefix should yield a primitive operation. (Find_Primitive_Operation): Handle case of class-wide types. (Analyze_Overloaded_Selected_Component): If type of prefix is class-wide, use visible components of base type. (Resolve_Selected_Component): Ditto. (Try_Primitive_Operation, Collect_Generic_Type_Ops): If the type is a formal of a generic subprogram. find candidate interpretations by scanning the list of generic formal declarations.: (Process_Implicit_Dereference_Prefix): If the prefix has an incomplete type from a limited_with_clause, and the full view is available, use it for subsequent semantic checks. (Check_Misspelled_Selector): Use Namet.Sp.Is_Bad_Spelling_Of function (Find_Primitive_Operation): New function. (Analyze_Overloaded_Selected_Component): insert explicit dereference only once if several interpretations of the prefix yield an access type. (Try_Object_Operation): Code and comment cleanup. (Analyze_Selected_Component): Reorder local variables. Minot comment and code reformatting. When the type of the prefix is tagged concurrent, a correct interpretation might be available in the primitive and class-wide operations of the type. From-SVN: r130853
Diffstat (limited to 'gcc/ada/sinput.adb')
0 files changed, 0 insertions, 0 deletions