[flang-commits] [flang] 6daa206 - [flang][NFC] fix comment typo in SetLowerBound description

Jean Perier via flang-commits flang-commits at lists.llvm.org
Fri Mar 25 01:36:08 PDT 2022


Author: Jean Perier
Date: 2022-03-25T01:32:57-07:00
New Revision: 6daa206b5d605e90b7e219d4efa0809f2ca2d29d

URL: https://github.com/llvm/llvm-project/commit/6daa206b5d605e90b7e219d4efa0809f2ca2d29d
DIFF: https://github.com/llvm/llvm-project/commit/6daa206b5d605e90b7e219d4efa0809f2ca2d29d.diff

LOG: [flang][NFC] fix comment typo in SetLowerBound description

Added: 
    

Modified: 
    flang/include/flang/Runtime/descriptor.h

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Runtime/descriptor.h b/flang/include/flang/Runtime/descriptor.h
index 376d3bb95e655..349af69ee52da 100644
--- a/flang/include/flang/Runtime/descriptor.h
+++ b/flang/include/flang/Runtime/descriptor.h
@@ -60,7 +60,7 @@ class Dimension {
     return *this;
   }
   // Do not use this API to cause the LB of an empty dimension
-  // to anything other than 1.  Use SetBounds() instead if you can.
+  // to be anything other than 1.  Use SetBounds() instead if you can.
   Dimension &SetLowerBound(SubscriptValue lower) {
     raw_.lower_bound = lower;
     return *this;


        


More information about the flang-commits mailing list