mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SourceKit] Omit internal parameters from filter name
The internal parameter names are just there to give an extra hint in the source text for what the argument is. Consequently, we don't want to allow filtering to match against them.
This commit is contained in:
@@ -873,6 +873,7 @@ void CompletionBuilder::getFilterName(CodeCompletionString *str,
|
||||
bool shouldPrint = !C.isAnnotation();
|
||||
switch (C.getKind()) {
|
||||
case ChunkKind::TypeAnnotation:
|
||||
case ChunkKind::CallParameterInternalName:
|
||||
case ChunkKind::CallParameterClosureType:
|
||||
case ChunkKind::CallParameterType:
|
||||
case ChunkKind::DeclAttrParamEqual:
|
||||
|
||||
Reference in New Issue
Block a user