diff options
author | Thomas Quinot <quinot@adacore.com> | 2009-07-10 13:12:10 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-10 15:12:10 +0200 |
commit | 2be0bff8f1836abfa08d9b52c8372f7b03468777 (patch) | |
tree | df8586f79822a2ca08ed10f32d72377b0bfa0cd2 /gcc/ada/exp_tss.adb | |
parent | 9304142e10e1d694d07b6fde8118a69e06fa7e56 (diff) | |
download | gcc-2be0bff8f1836abfa08d9b52c8372f7b03468777.zip gcc-2be0bff8f1836abfa08d9b52c8372f7b03468777.tar.gz gcc-2be0bff8f1836abfa08d9b52c8372f7b03468777.tar.bz2 |
sem_aggr.adb: Minor comments editing
2009-07-10 Thomas Quinot <quinot@adacore.com>
* sem_aggr.adb: Minor comments editing
* exp_tss.adb, exp_ch3.adb: Minor reformatting
From-SVN: r149473
Diffstat (limited to 'gcc/ada/exp_tss.adb')
-rw-r--r-- | gcc/ada/exp_tss.adb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ada/exp_tss.adb b/gcc/ada/exp_tss.adb index 902d4e7..b1a2851 100644 --- a/gcc/ada/exp_tss.adb +++ b/gcc/ada/exp_tss.adb @@ -212,9 +212,8 @@ package body Exp_Tss is if not Is_CPP_Class (Typ) then return Node (Elmt); - -- In case of CPP classes we are searching here for the - -- default constructor and hence we must skip non-default - -- constructors (if any) + -- For CPP classes, we are looking for the default constructor, + -- and so we must skip any non-default constructor. elsif No (Next @@ -228,13 +227,13 @@ package body Exp_Tss is Next_Elmt (Elmt); end loop; - -- Non-default constructors are currently supported only in the - -- context of interfacing with C++ + -- Non-default constructors are currently supported only in the context + -- of interfacing with C++. else pragma Assert (Is_CPP_Class (Typ)); - -- Use the referenced function to locate the IP procedure that - -- corresponds with the C++ constructor + -- Use the referenced function to locate the init_proc matching + -- the C++ constructor. Elmt := First_Elmt (TSS_Elist (FN)); while Present (Elmt) loop |