Skip to content

Commit b4423e3

Browse files
committed
comments
1 parent 5e68ebe commit b4423e3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

runtime/descriptor.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class DescriptorView {
264264
};
265265
static_assert(sizeof(DescriptorView) == sizeof(ISO::CFI_cdesc_t));
266266

267-
// Static type information is suitable for loading in a read-only section.
267+
// Static type information is suitable for residence in a read-only section.
268268
// Information about intrinsic types is inferable from raw CFI_type_t
269269
// type codes (packaged as TypeCode above).
270270
// Information about derived types and their KIND parameter specializations
@@ -465,6 +465,11 @@ struct ProcedurePointer {
465465

466466
// TODO: coarray hooks
467467

468+
469+
// TODO: Change mind on this class template. Restore DescriptorView -> Descriptor,
470+
// its constructors, and add a factory static member function and a destructor
471+
// that cleans up a non-pointer.
472+
468473
template<int MAX_RANK = CFI_MAX_RANK,
469474
bool NONTRIVIAL_DERIVED_TYPE_ALLOWED = false, int MAX_LEN_PARMS = 0>
470475
class alignas(DescriptorView) Descriptor {

0 commit comments

Comments
 (0)