[flang] Add a TODO.
authorpeter klausler <pklausler@nvidia.com>
Wed, 16 May 2018 18:32:24 +0000 (11:32 -0700)
committerpeter klausler <pklausler@nvidia.com>
Wed, 16 May 2018 18:32:24 +0000 (11:32 -0700)
Original-commit: flang-compiler/f18@b9b929384b018bc1898d1b099bcc47a675b165fe
Reviewed-on: https://github.com/flang-compiler/f18/pull/92
Tree-same-pre-rewrite: false

flang/runtime/descriptor.h

index 1bb0bb0926d115e9678d61d04e15d573ce35a215..bcbc80ee80e6ab0fedf1c4fa10b2f09d9fa403d2 100644 (file)
@@ -261,6 +261,7 @@ struct ProcedurePointer {
 // Extended derived types have the EXTENDS flag set and place their base
 // component first in the component descriptions, which is significant for
 // the execution of FINAL subroutines.
+// TODO: Link to defined assignment subroutines and their characteristics.
 class DerivedType {
 public:
   const char *name() const { return name_; }
@@ -282,10 +283,10 @@ public:
   bool IsSameType(const DerivedType &);
 
 private:
-  const char *name_;  // NUL-terminated constant text
-  std::size_t bytes_;  // allocation size of one scalar instance, w/ alignment
   enum Flag { EXTENDS = 1, SEQUENCE = 2, BIND = 4, ANY_PRIVATE = 8 };
 
+  const char *name_;  // NUL-terminated constant text
+  std::size_t bytes_;  // allocation size of one scalar instance, w/ alignment
   std::uint64_t flags_;  // needed for IsSameType() correct semantics
   const char *initializer_;  // can be null; includes base components
   std::size_t kindParameters_;