Skip to content

Commit d2662ee

Browse files
committed
remove unused parameter in printAnnotatedDeclaration
1 parent 9227dfb commit d2662ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ static Type findBaseTypeForReplacingArchetype(const ValueDecl *VD, const Type Ty
397397
return Result;
398398
}
399399

400-
static void printAnnotatedDeclaration(const ValueDecl *VD, const Type Ty,
400+
static void printAnnotatedDeclaration(const ValueDecl *VD,
401401
const Type BaseTy,
402402
raw_ostream &OS) {
403403
AnnotatedDeclarationPrinter Printer(OS);
@@ -658,7 +658,7 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
658658
unsigned DeclBegin = SS.size();
659659
{
660660
llvm::raw_svector_ostream OS(SS);
661-
printAnnotatedDeclaration(VD, Ty, BaseType, OS);
661+
printAnnotatedDeclaration(VD, BaseType, OS);
662662
}
663663
unsigned DeclEnd = SS.size();
664664

0 commit comments

Comments
 (0)