From 9192cac4d55f0bb89b83113b2edf29a7d5efcaa8 Mon Sep 17 00:00:00 2001 From: Geod24 Date: Tue, 14 Apr 2020 04:00:27 +0900 Subject: [PATCH] Remove documentation for .classinfo In support of dlang/dmd#11033. --- spec/class.dd | 2 +- spec/property.dd | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/spec/class.dd b/spec/class.dd index 0df41a02ca..f944e23814 100644 --- a/spec/class.dd +++ b/spec/class.dd @@ -249,7 +249,7 @@ class C $(H2 $(LNAME2 synchronized-classes, Synchronized Classes)) $(P All member functions of synchronized classes are synchronized. - A static member function is synchronized on the $(I classinfo) + A static member function is synchronized on the $(I TypeInfo_Class) object for the class, which means that one monitor is used for all static member functions for that synchronized class. For non-static functions of a synchronized class, the monitor diff --git a/spec/property.dd b/spec/property.dd index 244cb33e37..4b49d26504 100644 --- a/spec/property.dd +++ b/spec/property.dd @@ -62,11 +62,6 @@ $(TROW $(D .im), imaginary part) $(BR) -$(TABLE2 Properties for Class Types, -$(THEAD Property, Description) -$(TROW $(RELATIVE_LINK2 classinfo, $(D .classinfo)), Information about the dynamic type of the class) -) - $(H2 $(LNAME2 init, .init Property)) $(P $(D .init) produces a constant expression that is the default @@ -243,15 +238,6 @@ $(H2 $(LNAME2 mangleof, .mangleof Property)) ) ) -$(H2 $(LNAME2 classinfo, .classinfo Property)) - -$(P $(CODE .classinfo) provides information about the dynamic type of a class -object. It returns a reference to type $(DDLINK phobos/object, TypeInfo_Class, -$(D object.TypeInfo_Class)).) - -$(P $(CODE .classinfo) applied to an interface gives the information for the -interface, not the class it might be an instance of.) - $(H2 $(LNAME2 classproperties, User-Defined Properties)) $(P User-defined properties can be created using $(LINK2 function.html#property-functions, Property Functions).)