summaryrefslogtreecommitdiff
path: root/flang/runtime
diff options
context:
space:
mode:
authorValentin Clement <clementval@gmail.com>2023-03-01 09:51:03 +0100
committerValentin Clement <clementval@gmail.com>2023-03-01 09:51:03 +0100
commit8fd3bfc25e49ed82e6287240e9c0ae9f7db76c72 (patch)
tree3f6e6ee3335fa7c8c17786f58bad14d1162272c4 /flang/runtime
parentf88bc7d426ed564e6e24ed1a24263045410ad425 (diff)
downloadllvm-8fd3bfc25e49ed82e6287240e9c0ae9f7db76c72.tar.gz
[flang][NFC] Remove redundant and incomplete comment
Diffstat (limited to 'flang/runtime')
-rw-r--r--flang/runtime/allocatable.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/flang/runtime/allocatable.cpp b/flang/runtime/allocatable.cpp
index 4c1abdbdb5c5..7d4f04cf4810 100644
--- a/flang/runtime/allocatable.cpp
+++ b/flang/runtime/allocatable.cpp
@@ -174,8 +174,7 @@ int RTNAME(AllocatableDeallocatePolymorphic)(Descriptor &descriptor,
descriptor, hasStat, errMsg, sourceFile, sourceLine)};
if (stat == StatOk) {
DescriptorAddendum *addendum{descriptor.Addendum()};
- if (addendum) { // Unlimited polymorphic allocated from intrinsic type spec
- // does not have
+ if (addendum) {
addendum->set_derivedType(derivedType);
} else {
// Unlimited polymorphic descriptors initialized with