summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_tss.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-10 13:12:10 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-10 13:12:10 +0000
commite7bcf552b5fbf6d331a9a9f1cff8ecac3ac44c8b (patch)
treedf8586f79822a2ca08ed10f32d72377b0bfa0cd2 /gcc/ada/exp_tss.adb
parentabc9203d05ba4144a884af0d6f786e21da7b9315 (diff)
downloadgcc-e7bcf552b5fbf6d331a9a9f1cff8ecac3ac44c8b.tar.gz
2009-07-10 Thomas Quinot <quinot@adacore.com>
* sem_aggr.adb: Minor comments editing * exp_tss.adb, exp_ch3.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_tss.adb')
-rw-r--r--gcc/ada/exp_tss.adb13
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/ada/exp_tss.adb b/gcc/ada/exp_tss.adb
index 902d4e7b593..b1a28517948 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