Skip to content

Commit 0038761

Browse files
committed
[Gardening] Made FSOEnableGenerics option static.
The command-line option for sil-fso-enable-generics was previously visible outside the FunctionSignatureOpts translation unit. It is not any longer.
1 parent 782d6cd commit 0038761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILOptimizer/FunctionSignatureTransforms/FunctionSignatureOpts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ using ArgumentIndexMap = llvm::SmallDenseMap<int, int>;
6565
//===----------------------------------------------------------------------===//
6666

6767
/// Set to true to enable the support for partial specialization.
68-
llvm::cl::opt<bool>
68+
static llvm::cl::opt<bool>
6969
FSOEnableGenerics("sil-fso-enable-generics", llvm::cl::init(true),
7070
llvm::cl::desc("Support function signature optimization "
7171
"of generic functions"));

0 commit comments

Comments
 (0)