[flang-commits] [flang] 0fab536 - [flang] Remove now-unused private data member, silence warning
peter klausler via flang-commits
flang-commits at lists.llvm.org
Tue Jul 20 17:24:47 PDT 2021
Author: peter klausler
Date: 2021-07-20T17:24:39-07:00
New Revision: 0fab5369000b5aeff5d20b8baace2eaf7564ddf3
URL: https://github.com/llvm/llvm-project/commit/0fab5369000b5aeff5d20b8baace2eaf7564ddf3
DIFF: https://github.com/llvm/llvm-project/commit/0fab5369000b5aeff5d20b8baace2eaf7564ddf3.diff
LOG: [flang] Remove now-unused private data member, silence warning
A field in DescriptorAddendum became unused during a recent
change but was not removed from the definition; it now elicits
a legitimate warning that's affecting some buildbots. Remove it.
Added:
Modified:
flang/runtime/descriptor.h
Removed:
################################################################################
diff --git a/flang/runtime/descriptor.h b/flang/runtime/descriptor.h
index f524b54841e0..a8b23b8ad582 100644
--- a/flang/runtime/descriptor.h
+++ b/flang/runtime/descriptor.h
@@ -113,7 +113,6 @@ class DescriptorAddendum {
private:
const typeInfo::DerivedType *derivedType_;
- std::uint64_t __unused_flags_{0}; // TODO: delete
typeInfo::TypeParameterValue len_[1]; // must be the last component
// The LEN type parameter values can also include captured values of
// specification expressions that were used for bounds and for LEN type
More information about the flang-commits
mailing list