aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-08-28 20:37:25 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2021-08-29 17:19:02 +0200
commit118a559df998051430c2068cfa4e03479c0c85da (patch)
treed4731e720bb57650e51e301bb3ee69c36b5f828c
parent2b8543a8ce5dd68b7f06d526d6aa42ad1d2060dc (diff)
downloadgcc-118a559df998051430c2068cfa4e03479c0c85da.zip
gcc-118a559df998051430c2068cfa4e03479c0c85da.tar.gz
gcc-118a559df998051430c2068cfa4e03479c0c85da.tar.bz2
d: Update comment for TypeInfoVisitor::layout_base
gcc/d/ChangeLog: * typeinfo.cc (class TypeInfoVisitor::layout_base): Update comment.
-rw-r--r--gcc/d/typeinfo.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/d/typeinfo.cc b/gcc/d/typeinfo.cc
index 04e228a..fd8c746 100644
--- a/gcc/d/typeinfo.cc
+++ b/gcc/d/typeinfo.cc
@@ -411,8 +411,7 @@ class TypeInfoVisitor : public Visitor
this->layout_field (value);
}
-
- /* Write out the __vptr and __monitor fields of class CD. */
+ /* Write out the __vptr and optionally __monitor fields of class CD. */
void layout_base (ClassDeclaration *cd)
{