[flang-commits] [flang] f29f86b - [NFC] Fix comment

Shao-Ce SUN via flang-commits flang-commits at lists.llvm.org
Thu Feb 17 05:19:32 PST 2022


Author: Shao-Ce SUN
Date: 2022-02-17T21:19:22+08:00
New Revision: f29f86b60bf7ce7e6651d90b36eb36592f60c4bf

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

LOG: [NFC] Fix comment

Added: 
    

Modified: 
    flang/lib/Optimizer/Support/KindMapping.cpp

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/Support/KindMapping.cpp b/flang/lib/Optimizer/Support/KindMapping.cpp
index 4535863abf8e..e5500c14476d 100644
--- a/flang/lib/Optimizer/Support/KindMapping.cpp
+++ b/flang/lib/Optimizer/Support/KindMapping.cpp
@@ -87,7 +87,7 @@ static RT doLookup(std::function<RT(KindTy)> def,
   return def(kind);
 }
 
-// do a lookup for integer, LOGICAL, or CHARACTER
+// do a lookup for INTEGER, LOGICAL, or CHARACTER
 template <char KEY, typename MAP>
 static Bitsize getIntegerLikeBitsize(KindTy kind, const MAP &map) {
   return doLookup<Bitsize, KEY>(defaultScalingKind, map, kind);


        


More information about the flang-commits mailing list