[flang-commits] [flang] 8fd3bfc - [flang][NFC] Remove redundant and incomplete comment

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Wed Mar 1 00:51:25 PST 2023


Author: Valentin Clement
Date: 2023-03-01T09:51:03+01:00
New Revision: 8fd3bfc25e49ed82e6287240e9c0ae9f7db76c72

URL: https://github.com/llvm/llvm-project/commit/8fd3bfc25e49ed82e6287240e9c0ae9f7db76c72
DIFF: https://github.com/llvm/llvm-project/commit/8fd3bfc25e49ed82e6287240e9c0ae9f7db76c72.diff

LOG: [flang][NFC] Remove redundant and incomplete comment

Added: 
    

Modified: 
    flang/runtime/allocatable.cpp

Removed: 
    


################################################################################
diff  --git a/flang/runtime/allocatable.cpp b/flang/runtime/allocatable.cpp
index 4c1abdbdb5c5e..7d4f04cf48106 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


        


More information about the flang-commits mailing list