Skip to content

Commit 5701926

Browse files
committed
Merge pull request #1969 from jpsim/unused-param-printAnnotatedDeclaration
2 parents 69cb1f8 + d2662ee commit 5701926

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);
@@ -676,7 +676,7 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
676676
unsigned DeclBegin = SS.size();
677677
{
678678
llvm::raw_svector_ostream OS(SS);
679-
printAnnotatedDeclaration(VD, Ty, BaseType, OS);
679+
printAnnotatedDeclaration(VD, BaseType, OS);
680680
}
681681
unsigned DeclEnd = SS.size();
682682

0 commit comments

Comments
 (0)