From 118a559df998051430c2068cfa4e03479c0c85da Mon Sep 17 00:00:00 2001 From: Iain Buclaw <ibuclaw@gdcproject.org> Date: Sat, 28 Aug 2021 20:37:25 +0200 Subject: [PATCH] d: Update comment for TypeInfoVisitor::layout_base gcc/d/ChangeLog: * typeinfo.cc (class TypeInfoVisitor::layout_base): Update comment. --- gcc/d/typeinfo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/d/typeinfo.cc b/gcc/d/typeinfo.cc index 04e228abf7cc..fd8c746a307d 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) { -- GitLab