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);
66656665
66666666std::string describeGenericType (ValueDecl *GP, bool includeName = false );
66676667
6668- // / Whether the given parameter requires an argument.
6669- bool parameterRequiresArgument (
6670- ArrayRef<AnyFunctionType::Param> params,
6671- const ParameterListInfo ¶mInfo,
6672- unsigned paramIdx);
6673-
66746668} // end namespace swift
66756669
66766670namespace llvm {
Original file line number Diff line number Diff line change @@ -279,10 +279,9 @@ static ConstraintSystem::TypeMatchOptions getDefaultDecompositionOptions(
279279}
280280
281281/// 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) {
286285 return !paramInfo.hasDefaultArgument(paramIdx)
287286 && !params[paramIdx].isVariadic();
288287}
You can’t perform that action at this time.
0 commit comments