diff options
author | Ed Schonberg <schonberg@adacore.com> | 2011-09-02 10:07:35 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-09-02 12:07:35 +0200 |
commit | 99d520ade527dcb82b6f3057ea571caaeb00c2b7 (patch) | |
tree | ce09a607f900a207daf6f88246d93c39a6056b95 /gcc/tree-streamer-in.c | |
parent | 5b5588dd53fd0da82e406f5de6e9f189f89f1b1a (diff) | |
download | gcc-99d520ade527dcb82b6f3057ea571caaeb00c2b7.zip gcc-99d520ade527dcb82b6f3057ea571caaeb00c2b7.tar.gz gcc-99d520ade527dcb82b6f3057ea571caaeb00c2b7.tar.bz2 |
sinfo.ads, sinfo.adb: New semantic attribute Premature_Use...
2011-09-02 Ed Schonberg <schonberg@adacore.com>
* sinfo.ads, sinfo.adb: New semantic attribute Premature_Use,
present in incomplete type declarations to refine the error
message the full declaration is in the same unit.
* sem_ch4.adb (Analyze_Selected_Component): If the prefix is of
an incomplete type, set the Premature_Use for additional message.
* sem_ch3.adb (Find_Type_Name): If partial view is incomplete
and Premature_Use is set, place additional information at the
point of premature use.
From-SVN: r178461
Diffstat (limited to 'gcc/tree-streamer-in.c')
0 files changed, 0 insertions, 0 deletions