File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -6665,12 +6665,6 @@ bool isSIMDOperator(ValueDecl *value);
6665
6665
6666
6666
std::string describeGenericType (ValueDecl *GP, bool includeName = false );
6667
6667
6668
- // / Whether the given parameter requires an argument.
6669
- bool parameterRequiresArgument (
6670
- ArrayRef<AnyFunctionType::Param> params,
6671
- const ParameterListInfo ¶mInfo,
6672
- unsigned paramIdx);
6673
-
6674
6668
} // end namespace swift
6675
6669
6676
6670
namespace llvm {
Original file line number Diff line number Diff line change @@ -279,10 +279,9 @@ static ConstraintSystem::TypeMatchOptions getDefaultDecompositionOptions(
279
279
}
280
280
281
281
/// Whether the given parameter requires an argument.
282
- bool swift::parameterRequiresArgument(
283
- ArrayRef<AnyFunctionType::Param> params,
284
- const ParameterListInfo ¶mInfo,
285
- unsigned paramIdx) {
282
+ static bool parameterRequiresArgument(ArrayRef<AnyFunctionType::Param> params,
283
+ const ParameterListInfo ¶mInfo,
284
+ unsigned paramIdx) {
286
285
return !paramInfo.hasDefaultArgument(paramIdx)
287
286
&& !params[paramIdx].isVariadic();
288
287
}
You can’t perform that action at this time.
0 commit comments