[flang] Add a TODO.

Original-commit: flang-compiler/f18@b9b929384b
Reviewed-on: https://github.com/flang-compiler/f18/pull/92
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler
2018-05-16 11:32:24 -07:00
parent 64ea1ff79d
commit 004852fc23

View 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_;