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 04e228a..fd8c746 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)
   {