]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
d: Update comment for TypeInfoVisitor::layout_base
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 28 Aug 2021 18:37:25 +0000 (20:37 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Sun, 29 Aug 2021 15:19:02 +0000 (17:19 +0200)
gcc/d/ChangeLog:

* typeinfo.cc (class TypeInfoVisitor::layout_base): Update comment.

gcc/d/typeinfo.cc

index 04e228abf7cc961a2c996547f6e0124755a7a019..fd8c746a307d51a40711739ecd85e4f336a4e8c1 100644 (file)
@@ -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)
   {