[flang-commits] [flang] 64d7d5a - [flang][NFC] Remove number of inlined elements

Valentin Clement via flang-commits flang-commits at lists.llvm.org
Wed Jan 19 05:52:43 PST 2022


Author: Valentin Clement
Date: 2022-01-19T14:51:17+01:00
New Revision: 64d7d5a59787d10e8b4fa1a98f6683bf4bec17cd

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

LOG: [flang][NFC] Remove number of inlined elements

Following the recommendation just remove the specified number of
inlined elements since it is not well-motivated choice here.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/flang/lib/Optimizer/Support/InternalNames.cpp b/flang/lib/Optimizer/Support/InternalNames.cpp
index 7aec778d1e9e9..4ed12a659138d 100644
--- a/flang/lib/Optimizer/Support/InternalNames.cpp
+++ b/flang/lib/Optimizer/Support/InternalNames.cpp
@@ -43,7 +43,7 @@ static std::string doModulesHost(llvm::ArrayRef<llvm::StringRef> mods,
   return result;
 }
 
-inline llvm::SmallVector<llvm::StringRef, 2>
+inline llvm::SmallVector<llvm::StringRef>
 convertToStringRef(llvm::ArrayRef<std::string> from) {
   return {from.begin(), from.end()};
 }


        


More information about the flang-commits mailing list